log4shib 2.0.1
Loading...
Searching...
No Matches
BasicLayout.hh
Go to the documentation of this file.
1/*
2 * BasicLayout.hh
3 *
4 * Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
5 * Copyright 2000, Bastiaan Bakker. All rights reserved.
6 *
7 * See the COPYING file for the terms of usage and distribution.
8 */
9
10#ifndef _LOG4SHIB_BASICLAYOUT_HH
11#define _LOG4SHIB_BASICLAYOUT_HH
12
14#include <log4shib/Layout.hh>
15
16namespace log4shib {
17
22 public:
24 virtual ~BasicLayout();
25
30 virtual std::string format(const LoggingEvent& event);
31 };
32}
33
34#endif // _LOG4SHIB_BASICLAYOUT_HH
#define LOG4SHIB_EXPORT
Definition Export.hh:11
virtual std::string format(const LoggingEvent &event)
Formats the LoggingEvent in BasicLayout style: "timeStamp priority category ndc: message".
Definition BasicLayout.cpp:25
BasicLayout()
Definition BasicLayout.cpp:19
Extend this abstract class to create your own log layout format.
Definition Layout.hh:22
The top level namespace for all 'Log for C++' types and classes.
Definition AbortAppender.hh:16
The internal representation of logging events.
Definition LoggingEvent.hh:32