log4cpp: Layout.hh Source File

- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# Layout.hh

Go to the documentation of this file.

    00001 /*
    00002  * Layout.hh
    00003  *
    00004  * Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
    00005  * Copyright 2000, Bastiaan Bakker. All rights reserved.
    00006  *
    00007  * See the COPYING file for the terms of usage and distribution.
    00008  */
    00009
    00010 #ifndef _LOG4CPP_LAYOUT_HH
    00011 #define _LOG4CPP_LAYOUT_HH
    00012
    00013 #include <log4cpp/Portability.hh>
    00014 #include <log4cpp/LoggingEvent.hh>
    00015 #include <string>
    00016
    00017 namespace log4cpp {
    00018
    00022     class LOG4CPP_EXPORT Layout {
    00023         public:
    00027         virtual ~Layout() { };
    00028
    00035         virtual std::string format(const LoggingEvent& event) = 0;
    00036     };
    00037 }
    00038
    00039 #endif // _LOG4CPP_LAYOUT_HH