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_TRANSPORT_H_
00028 #define CEYLAN_LOG_TRANSPORT_H_
00029
00030
00031 #include "CeylanLog.h"
00032 #include "CeylanTextDisplayable.h"
00033
00034
00035 namespace Ceylan
00036 {
00037
00038 namespace Log
00039 {
00040
00041
00042
00043 class LogMessage ;
00044
00045
00061 class CEYLAN_DLL LogTransport : public virtual TextDisplayable
00062 {
00063
00064 public:
00065
00066
00067
00074 LogTransport() ;
00075
00076
00078 virtual ~LogTransport() throw() ;
00079
00080
00081
00094 virtual void propagate( LogMessage & message ) = 0 ;
00095
00096
00097
00109 virtual const std::string toString(
00110 Ceylan::VerbosityLevels level = Ceylan::high ) const ;
00111
00112
00113
00114 private:
00115
00116
00125 LogTransport( const LogTransport & source ) ;
00126
00127
00136 LogTransport & operator = ( const LogTransport & source ) ;
00137
00138
00139 } ;
00140
00141
00142 }
00143
00144
00145 }
00146
00147
00148 #endif // CEYLAN_LOG_TRANSPORT_H_
00149