PLearn 0.1
|
Provides several back-ends for displaying the log messages. More...
#include <pl_log.h>
Public Member Functions | |
virtual | ~PL_LogPlugin () |
virtual PStream & | getStream (PStream::mode_t outmode, const string &module_name, int requested_verbosity)=0 |
Provides several back-ends for displaying the log messages.
Similarly to ProgressBarPlugin, this class allows several types of back-ends to render log messages. The purpose of this plugin is to return a reference to a PStream that's ready for carrying out logging operations on the specified "name" and given verbosity.
virtual PStream& PLearn::PL_LogPlugin::getStream | ( | PStream::mode_t | outmode, |
const string & | module_name, | ||
int | requested_verbosity | ||
) | [pure virtual] |
Implemented in PLearn::PL_LogPluginPStream, PLearn::PL_LogPluginServer, PLearn::PL_LogPluginInterceptor, and PLearn::PlideLogPlugin.
Referenced by PLearn::PL_LogPluginInterceptor::getStream().