log4cpp::Layout – Deciding on the Layout of Logs

Posted by Joys of Programming on in C/C++

log4cpp helps you to decide on the Layout of the logs. The layout of a log means the format according to which you want to display a message depending on the logging event. log4cpp supports the following Layouts

  1. Simple Layout
  2. Basic Layout
  3. Pattern Layout

You can even make a Layout of your own. Making a Layout involves specifying the format of the message corresponding to an event (error, info, warning or critical error)

Reblog this post [with Zemanta]


Tags: , , , , , , ,

Comments:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.