class Poco::Util::LoggingSubsystem
Overview
The LoggingSubsystem class initializes the logging framework using the LoggingConfigurator. More…
#include <LoggingSubsystem.h> class LoggingSubsystem: public Poco::Util::Subsystem { public: // methods virtual const char* name() const; protected: // methods virtual void initialize(Application& app); virtual void uninitialize(); };
Inherited Members
public: // methods void duplicate() const; void release() const; int referenceCount() const; virtual const char* name() const = 0; protected: // methods virtual void initialize(Application& app) = 0; virtual void uninitialize() = 0; virtual void reinitialize(Application& app); virtual void defineOptions(OptionSet& options);
Detailed Documentation
The LoggingSubsystem class initializes the logging framework using the LoggingConfigurator.
It also sets the Application ‘s logger to the logger specified by the “application.logger” property, or to “Application” if the property is not specified.
Methods
virtual const char* name() const
Returns the name of the subsystem.
Must be implemented by subclasses.
virtual void initialize(Application& app)
Initializes the subsystem.
virtual void uninitialize()
Uninitializes the subsystem.