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_CLASSICAL_H_
00028 #define CEYLAN_LOG_PLUG_CLASSICAL_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 LogPlugClassical: public LogPlug
00084 {
00085
00086 public:
00087
00088
00089
00109 static void StartService(
00110 const std::string & plugInitiatorName,
00111 bool immediateWrite = true, bool smart = true ) ;
00112
00113
00114
00116 static void StopService() ;
00117
00118
00119
00125 static const std::string ToString(
00126 Ceylan::VerbosityLevels level = Ceylan::high ) ;
00127
00128
00129
00130
00131 private:
00132
00133
00134
00135
00136
00137
00138
00140
00141
00143
00144
00145
00146
00155 LogPlugClassical( const LogPlugClassical & source );
00156
00157
00166 LogPlugClassical & operator = (
00167 const LogPlugClassical & source ) ;
00168
00169
00170 } ;
00171
00172 }
00173
00174 }
00175
00176
00177 #endif // CEYLAN_LOG_PLUG_CLASSICAL_H_
00178