#include <log.hh>
Inheritance diagram for Qmms::Log::Layout::
Public Methods | |
virtual QString | formatEvent (const LoggingEvent *evnt)=0 |
This purely virtual function makes the class abstract. More... | |
virtual | ~Layout () |
Destructor does nothing. More... |
Never instantiated and meant to be subclassed. It exists so that other parts of the qmmslog package can point to an instance of a subclassed layout simply as type Layout. Notice that it doesn't even have a constructor, just as abstract classes should.
|
Destructor does nothing.
|
|
This purely virtual function makes the class abstract. Formats the LoggingEvent according to the rules of the Layout. Subclasses clearly must implement this method. Reimplemented in Qmms::Log::PatternLayout, and Qmms::Log::SimpleLayout. |