00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef CEYLAN_LOG_PLUG_CONSOLE_H_
00028 #define CEYLAN_LOG_PLUG_CONSOLE_H_
00029
00030
00031 #include "CeylanLog.h"
00032 #include "CeylanLogPlug.h"
00033
00034 #include <string>
00035
00036
00037
00038 namespace Ceylan
00039 {
00040
00041 namespace Log
00042 {
00043
00044
00045
00047 class LogSource ;
00048
00049
00055 class LogTransport ;
00056
00057
00064 class LogListener ;
00065
00066
00071 class LogAggregator ;
00072
00073
00074
00083 class CEYLAN_DLL LogPlugConsole : public LogPlug
00084 {
00085
00086 public:
00087
00088
00089
00110 static void StartService( const std::string & plugInitiator,
00111 bool immediateWrite = true, bool smart = true ) ;
00112
00113
00115 static void StopService() ;
00116
00117
00123 static const std::string ToString(
00124 Ceylan::VerbosityLevels level = Ceylan::high ) ;
00125
00126
00127
00128
00129 private:
00130
00131
00132
00133
00134
00135
00136
00138
00139
00141
00142
00143
00144
00145
00154 LogPlugConsole( const LogPlugConsole & source ) ;
00155
00156
00165 LogPlugConsole & operator = ( const LogPlugConsole & source ) ;
00166
00167
00168 } ;
00169
00170 }
00171
00172 }
00173
00174
00175
00176 #endif // CEYLAN_LOG_PLUG_CONSOLE_H_
00177