This class implements the LogPlug interface, registers the various instances of the log framework in their null version, and creates the relevant standard channels. More...
#include <CeylanLogPlugNull.h>
Static Public Member Functions | |
static void | StartService () |
Starts the Log null service. | |
static void | StopService () |
Stops the Log null service. | |
static const std::string | ToString (Ceylan::VerbosityLevels level=Ceylan::high) |
Returns some informations about the null LogPlug's state. | |
static void | SetInfoLogSource (LogSource &newInfoLogSource) |
Assigns a LogSource for the default log channel info. | |
static LogSource & | GetInfoLogSource () |
Returns the LogSource for the default log channel info. | |
static void | SetTraceLogSource (LogSource &newTraceLogSource) |
Assigns a LogSource for the default log channel trace. | |
static LogSource & | GetTraceLogSource () |
Returns the LogSource for default log channel trace. | |
static void | SetDebugLogSource (LogSource &newDebugLogSource) |
Assigns a LogSource for the default log channel debug. | |
static LogSource & | GetDebugLogSource () |
Returns the LogSource for default log channel debug. | |
static void | SetWarningLogSource (LogSource &newWarningLogSource) |
Assigns a LogSource for the default log channel warning. | |
static LogSource & | GetWarningLogSource () |
Returns the LogSource for default log channel warning. | |
static void | SetErrorLogSource (LogSource &newErrorLogSource) |
Assigns a LogSource for the default log channel error. | |
static LogSource & | GetErrorLogSource () |
Returns the LogSource for default log channel error. | |
static void | SetFatalLogSource (LogSource &newFatalLogSource) |
Assigns a LogSource for the default log channel fatal. | |
static LogSource & | GetFatalLogSource () |
Returns the LogSource for default log channel fatal. | |
static bool | IsFatalLogSourceAvailable () |
Tells whether the fatal channel of the Log Plug is initialized. | |
static void | SetLogRootLogSource (LogSource &newLogRootLogSource) |
Assigns a LogSource for the default log channel logroot. | |
static LogSource & | GetLogRootLogSource () |
Returns the LogSource for default log channel logroot. | |
static void | SetTransport (LogTransport &newTransport) |
Assigns a LogSource for the default log channel logroot. | |
static LogTransport & | GetTransport () |
Returns the log transport currently being used by the plug. | |
static void | SetListener (LogListener &newListener) |
Assigns a LogSource for the default log channel logroot. | |
static LogListener & | GetListener () |
Returns the log Listener currently being used by the plug. | |
static void | SetAggregator (LogAggregator &newAggregator) |
Assigns a LogSource for the default log channel logroot. | |
static LogAggregator & | GetAggregator () |
Returns the log Aggregator currently being used by the plug. | |
static void | CheckBlank () |
Verifies that the Log Plug is totally empty, no log source, transport, listener, aggregator being registered. | |
static void | SetFullExecutablePath (const std::string &plugInitiatorFullName) |
Records for later use the full path of current executable. | |
static std::string | GetFullExecutablePath () |
Returns the full path of current executable, as stored by SetFullExecutablePath. | |
static std::string | GetSpeakerNameFrom (const std::string &plugInitiatorFullName) |
Determines a suitable speaker name from specified plug % initiator full name. | |
static void | CreateBasicPlug () |
Creates a basic plug, formed of the standard channels, provided a transport is already available. | |
static void | CreateNullPlug () |
Creates a null plug, formed of muted channels. | |
static void | StartService (const std::string &plugCreator) |
Starts the Log service and declares the name of the source of the Log messages. | |
static void | StopService (bool warnIfAlreadyStopped=true) |
Stops the Log service. | |
static const std::string | GetSourceName () |
Returns the source name with initiated the log plug. | |
static void | info (const std::string &message, LevelOfDetail levelOfDetail=Log::MaximumLevelOfDetailForMessage) |
Sends a message to the default log channel Info. | |
static void | trace (const std::string &message, LevelOfDetail levelOfDetail=Log::DefaultLevelOfDetailForMessage) |
Sends a message to the default log channel trace. | |
static void | debug (const std::string &message, LevelOfDetail levelOfDetail=Log::DefaultLevelOfDetailForMessage) |
Sends a message to the default log channel debug. | |
static void | warning (const std::string &message, LevelOfDetail levelOfDetail=Log::MaximumLevelOfDetailForMessage) |
Sends a message to the default log channel warning. | |
static void | error (const std::string &message, LevelOfDetail levelOfDetail=Log::MaximumLevelOfDetailForMessage) |
Sends a message to the default log channel error. | |
static void | fatal (const std::string &message, LevelOfDetail levelOfDetail=Log::MaximumLevelOfDetailForMessage) |
Sends a message to the default log channel fatal. | |
static void | logroot (const std::string &message, LevelOfDetail levelOfDetail=Log::MaximumLevelOfDetailForMessage) |
Sends a message to the special log channel logroot. | |
Static Public Attributes | |
static const std::string | LogSystemNotInitialized |
Error message to be displayed on attempt of using the Log system, whereas the service has not been started yet (empty plug). | |
Static Protected Attributes | |
static LogSource * | InfoLogSource = 0 |
Plug for the info channel. | |
static LogSource * | TraceLogSource = 0 |
Plug for the trace channel. | |
static LogSource * | DebugLogSource = 0 |
Plug for the debug channel. | |
static LogSource * | WarningLogSource = 0 |
Plug for the warning channel. | |
static LogSource * | ErrorLogSource = 0 |
Plug for the error channel. | |
static LogSource * | FatalLogSource = 0 |
Plug for the fatal channel. | |
static LogSource * | LogrootLogSource = 0 |
Plug for the log root channel. | |
static LogTransport * | Transport = 0 |
Plug for the Log transport. | |
static LogListener * | Listener = 0 |
Plug for the possible Log Listener, if framework is purely local. | |
static LogAggregator * | Aggregator = 0 |
Plug for the possible Log Aggregator, if framework is purely local. | |
static std::string | FullExecutablePath = "" |
Records the full path of current executable, for later use. | |
static std::string | SourceName = "<no source specified>" |
Records the source name, which initiated the log session. | |
Private Member Functions | |
LogPlugNull (const LogPlugNull &source) | |
Copy constructor made private to ensure that it will be never called. | |
LogPlugNull & | operator= (const LogPlugNull &source) |
Assignment operator made private to ensure that it will be never called. |
This class implements the LogPlug interface, registers the various instances of the log framework in their null version, and creates the relevant standard channels.
This plug just ignores all log messages and does not process nor store them in any way.
Its purpose is to allow to run programs with the minimum overweight due to logs (in a context where recompiling the library is not an option).
Definition at line 90 of file CeylanLogPlugNull.h.
Ceylan::Log::LogPlugNull::LogPlugNull | ( | const LogPlugNull & | source | ) | [private] |
Copy constructor made private to ensure that it will be never called.
The compiler should complain whenever this undefined constructor is called, implicitly or not.
void LogPlug::CheckBlank | ( | ) | [static, inherited] |
Verifies that the Log Plug is totally empty, no log source, transport, listener, aggregator being registered.
Definition at line 281 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::Aggregator, Ceylan::Log::LogPlug::DebugLogSource, Ceylan::Log::LogPlug::ErrorLogSource, Ceylan::Log::LogPlug::FatalLogSource, Ceylan::Log::LogPlug::InfoLogSource, Ceylan::Log::LogPlug::Listener, Ceylan::Log::LogPlug::LogrootLogSource, Ceylan::Log::LogPlug::TraceLogSource, Ceylan::Log::LogPlug::Transport, and Ceylan::Log::LogPlug::WarningLogSource.
Referenced by StartService(), Ceylan::Log::LogPlugHTML::StartService(), Ceylan::Log::LogPlugConsole::StartService(), and Ceylan::Log::LogPlugClassical::StartService().
void LogPlug::CreateBasicPlug | ( | ) | [static, inherited] |
Creates a basic plug, formed of the standard channels, provided a transport is already available.
Definition at line 416 of file CeylanLogPlug.cc.
References CEYLAN_LOG, Ceylan::Log::LogPlug::DebugLogSource, Ceylan::Log::LogPlug::ErrorLogSource, Ceylan::Log::LogPlug::FatalLogSource, Ceylan::GetVersion(), Ceylan::Log::LogPlug::InfoLogSource, Ceylan::Log::LogPlug::LogrootLogSource, Ceylan::Log::LogSource::send(), Ceylan::toString(), Ceylan::Log::LogPlug::TraceLogSource, Ceylan::Log::LogPlug::Transport, and Ceylan::Log::LogPlug::WarningLogSource.
Referenced by Ceylan::Log::LogPlugHTML::StartService(), Ceylan::Log::LogPlugConsole::StartService(), and Ceylan::Log::LogPlugClassical::StartService().
void LogPlug::CreateNullPlug | ( | ) | [static, inherited] |
Creates a null plug, formed of muted channels.
Definition at line 462 of file CeylanLogPlug.cc.
References CEYLAN_LOG, Ceylan::Log::LogPlug::DebugLogSource, Ceylan::Log::LogPlug::ErrorLogSource, Ceylan::Log::LogPlug::FatalLogSource, Ceylan::Log::LogPlug::InfoLogSource, Ceylan::Log::LogPlug::LogrootLogSource, Ceylan::Log::LogPlug::TraceLogSource, and Ceylan::Log::LogPlug::WarningLogSource.
Referenced by StartService().
void LogPlug::debug | ( | const std::string & | message, | |
LevelOfDetail | levelOfDetail = Log::DefaultLevelOfDetailForMessage | |||
) | [static, inherited] |
Sends a message to the default log channel debug.
This channel is to be used to send messages helping the developer figuring out what happens in the system.
Definition at line 741 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::DebugLogSource, Ceylan::Log::LogPlug::LogSystemNotInitialized, and Ceylan::Log::LogSource::send().
Referenced by Ceylan::System::getAccuracyOfPreciseTime(), Ceylan::Log::LogPlug::StopService(), and Ceylan::System::OutputStream::writeString().
void LogPlug::error | ( | const std::string & | message, | |
LevelOfDetail | levelOfDetail = Log::MaximumLevelOfDetailForMessage | |||
) | [static, inherited] |
Sends a message to the default log channel error.
This channel is to be used to issue critical errors on abnormal events.
Its level of detail should be the highest, so that it will never be missed.
Definition at line 779 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::ErrorLogSource, Ceylan::Log::LogPlug::LogSystemNotInitialized, and Ceylan::Log::LogSource::send().
Referenced by Ceylan::Log::LogPlug::StopService(), Ceylan::Maths::Linear::Vector3::toString(), Ceylan::Maths::Linear::Vector2::toString(), Ceylan::Maths::Linear::Tripoint::toString(), Ceylan::Maths::Linear::Matrix3::toString(), Ceylan::Maths::Linear::Matrix2::toString(), Ceylan::Maths::Linear::HomogeneousMatrix3::toString(), Ceylan::Maths::Linear::Bipoint::toString(), and Ceylan::LoadableWithContent< Content >::~LoadableWithContent().
void LogPlug::fatal | ( | const std::string & | message, | |
LevelOfDetail | levelOfDetail = Log::MaximumLevelOfDetailForMessage | |||
) | [static, inherited] |
Sends a message to the default log channel fatal.
This channel is to be used to trace fatal situtations, just before the immediate failure of the program.
Its level of detail should be the highest, so that it will never be missed.
Definition at line 807 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::FatalLogSource, Ceylan::Log::LogPlug::LogSystemNotInitialized, and Ceylan::Log::LogSource::send().
Referenced by Ceylan::emergencyShutdown(), and Ceylan::Log::LogPlug::StopService().
LogAggregator & LogPlug::GetAggregator | ( | ) | [static, inherited] |
Returns the log Aggregator currently being used by the plug.
Definition at line 272 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::Aggregator.
LogSource & LogPlug::GetDebugLogSource | ( | ) | [static, inherited] |
Returns the LogSource for default log channel debug.
Definition at line 137 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::DebugLogSource.
LogSource & LogPlug::GetErrorLogSource | ( | ) | [static, inherited] |
Returns the LogSource for default log channel error.
Definition at line 173 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::ErrorLogSource.
LogSource & LogPlug::GetFatalLogSource | ( | ) | [static, inherited] |
Returns the LogSource for default log channel fatal.
Definition at line 191 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::FatalLogSource.
std::string LogPlug::GetFullExecutablePath | ( | ) | [static, inherited] |
Returns the full path of current executable, as stored by SetFullExecutablePath.
LogException | on error, including if no path was set yet. |
Definition at line 342 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::FullExecutablePath.
LogSource & LogPlug::GetInfoLogSource | ( | ) | [static, inherited] |
Returns the LogSource for the default log channel info.
Definition at line 101 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::InfoLogSource.
LogListener & LogPlug::GetListener | ( | ) | [static, inherited] |
Returns the log Listener currently being used by the plug.
Definition at line 254 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::Listener.
LogSource & LogPlug::GetLogRootLogSource | ( | ) | [static, inherited] |
Returns the LogSource for default log channel logroot.
Definition at line 218 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::LogrootLogSource.
const string LogPlug::GetSourceName | ( | ) | [static, inherited] |
Returns the source name with initiated the log plug.
Definition at line 631 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::SourceName.
Referenced by Ceylan::Log::LogAggregatorHTML::aggregate().
std::string LogPlug::GetSpeakerNameFrom | ( | const std::string & | plugInitiatorFullName | ) | [static, inherited] |
Determines a suitable speaker name from specified plug % initiator full name.
plugInitiatorFullName | the full name of the plug initiator (usually argv[0]). |
LogException | on error. |
Definition at line 355 of file CeylanLogPlug.cc.
References CEYLAN_LOG, dataUtils::e, Ceylan::System::Directory::StripFilename(), and Ceylan::Exception::toString().
Referenced by Ceylan::Log::LogHolder::LogHolder(), and Ceylan::Log::LogPlugClassical::StartService().
LogSource & LogPlug::GetTraceLogSource | ( | ) | [static, inherited] |
Returns the LogSource for default log channel trace.
Definition at line 119 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::TraceLogSource.
LogTransport & LogPlug::GetTransport | ( | ) | [static, inherited] |
Returns the log transport currently being used by the plug.
Definition at line 236 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::Transport.
LogSource & LogPlug::GetWarningLogSource | ( | ) | [static, inherited] |
Returns the LogSource for default log channel warning.
Definition at line 155 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::WarningLogSource.
void LogPlug::info | ( | const std::string & | message, | |
LevelOfDetail | levelOfDetail = Log::MaximumLevelOfDetailForMessage | |||
) | [static, inherited] |
Sends a message to the default log channel Info.
This channel is to be used to send messages which should be read by the user, so its level of detail should be high.
Definition at line 703 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::InfoLogSource, Ceylan::Log::LogPlug::LogSystemNotInitialized, and Ceylan::Log::LogSource::send().
Referenced by Ceylan::Log::LogPlug::StopService().
bool LogPlug::IsFatalLogSourceAvailable | ( | ) | [static, inherited] |
Tells whether the fatal channel of the Log Plug is initialized.
Definition at line 200 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::FatalLogSource.
Referenced by Ceylan::emergencyShutdown().
void LogPlug::logroot | ( | const std::string & | message, | |
LevelOfDetail | levelOfDetail = Log::MaximumLevelOfDetailForMessage | |||
) | [static, inherited] |
Sends a message to the special log channel logroot.
This channel is to be used solely for internal log system purpose.
Its level of detail should be the highest, so that it will never be missed.
Definition at line 835 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::LogrootLogSource, Ceylan::Log::LogPlug::LogSystemNotInitialized, and Ceylan::Log::LogSource::send().
Referenced by Ceylan::Log::LogPlug::StopService().
LogPlugNull& Ceylan::Log::LogPlugNull::operator= | ( | const LogPlugNull & | source | ) | [private] |
Assignment operator made private to ensure that it will be never called.
The compiler should complain whenever this undefined operator is called, implicitly or not.
void LogPlug::SetAggregator | ( | LogAggregator & | newAggregator | ) | [static, inherited] |
Assigns a LogSource for the default log channel logroot.
Definition at line 263 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::Aggregator.
void LogPlug::SetDebugLogSource | ( | LogSource & | newDebugLogSource | ) | [static, inherited] |
Assigns a LogSource for the default log channel debug.
Definition at line 128 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::DebugLogSource.
void LogPlug::SetErrorLogSource | ( | LogSource & | newErrorLogSource | ) | [static, inherited] |
Assigns a LogSource for the default log channel error.
Definition at line 164 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::ErrorLogSource.
void LogPlug::SetFatalLogSource | ( | LogSource & | newFatalLogSource | ) | [static, inherited] |
Assigns a LogSource for the default log channel fatal.
Definition at line 182 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::FatalLogSource.
void LogPlug::SetFullExecutablePath | ( | const std::string & | plugInitiatorFullName | ) | [static, inherited] |
Records for later use the full path of current executable.
plugInitiatorFullName | the full path, corresponding to argv[0] generally. |
LogException | on error, including if the path was already set. |
Definition at line 329 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::FullExecutablePath.
Referenced by Ceylan::Log::LogHolder::LogHolder().
void LogPlug::SetInfoLogSource | ( | LogSource & | newInfoLogSource | ) | [static, inherited] |
Assigns a LogSource for the default log channel info.
Definition at line 92 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::InfoLogSource.
void LogPlug::SetListener | ( | LogListener & | newListener | ) | [static, inherited] |
Assigns a LogSource for the default log channel logroot.
Definition at line 245 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::Listener.
void LogPlug::SetLogRootLogSource | ( | LogSource & | newLogRootLogSource | ) | [static, inherited] |
Assigns a LogSource for the default log channel logroot.
Definition at line 209 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::LogrootLogSource.
void LogPlug::SetTraceLogSource | ( | LogSource & | newTraceLogSource | ) | [static, inherited] |
Assigns a LogSource for the default log channel trace.
Definition at line 110 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::TraceLogSource.
void LogPlug::SetTransport | ( | LogTransport & | newTransport | ) | [static, inherited] |
Assigns a LogSource for the default log channel logroot.
Definition at line 227 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::Transport.
void LogPlug::SetWarningLogSource | ( | LogSource & | newWarningLogSource | ) | [static, inherited] |
Assigns a LogSource for the default log channel warning.
Definition at line 146 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::WarningLogSource.
void LogPlug::StartService | ( | const std::string & | plugCreator | ) | [static, inherited] |
Starts the Log service and declares the name of the source of the Log messages.
plugCreator | the name of the plug initiator, for instance argv[0]. |
Definition at line 496 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::DebugLogSource, Ceylan::Log::LogPlug::ErrorLogSource, Ceylan::Log::LogPlug::FatalLogSource, Ceylan::Log::LogPlug::InfoLogSource, Ceylan::Log::LogPlug::LogrootLogSource, Ceylan::Log::LogPlug::SourceName, Ceylan::Log::LogPlug::TraceLogSource, and Ceylan::Log::LogPlug::WarningLogSource.
void LogPlugNull::StartService | ( | ) | [static] |
Starts the Log null service.
LogException | if the operation fails. |
Definition at line 46 of file CeylanLogPlugNull.cc.
References CEYLAN_LOG, Ceylan::Log::LogPlug::CheckBlank(), and Ceylan::Log::LogPlug::CreateNullPlug().
Referenced by Ceylan::Log::LogHolder::LogHolder().
void LogPlug::StopService | ( | bool | warnIfAlreadyStopped = true |
) | [static, inherited] |
Stops the Log service.
warnIfAlreadyStopped | if true, if the log system is not available when this method is called (either not launched or already stopped), then an error message is output. Otherwise this is a silent shutdown of the log system. |
Definition at line 526 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::debug(), Ceylan::Log::LogPlug::DebugLogSource, Ceylan::Log::LogPlug::error(), Ceylan::Log::LogPlug::ErrorLogSource, Ceylan::Log::LogPlug::fatal(), Ceylan::Log::LogPlug::FatalLogSource, Ceylan::Log::LogPlug::info(), Ceylan::Log::LogPlug::InfoLogSource, Ceylan::Log::LogPlug::logroot(), Ceylan::Log::LogPlug::LogrootLogSource, Ceylan::Log::LogPlug::trace(), Ceylan::Log::LogPlug::TraceLogSource, Ceylan::Log::LogPlug::warning(), and Ceylan::Log::LogPlug::WarningLogSource.
Referenced by Ceylan::emergencyShutdown().
void LogPlugNull::StopService | ( | ) | [static] |
Stops the Log null service.
Definition at line 64 of file CeylanLogPlugNull.cc.
Referenced by Ceylan::Log::LogHolder::~LogHolder().
const string LogPlugNull::ToString | ( | Ceylan::VerbosityLevels | level = Ceylan::high |
) | [static] |
Returns some informations about the null LogPlug's state.
Reimplemented from Ceylan::Log::LogPlug.
Definition at line 73 of file CeylanLogPlugNull.cc.
References Ceylan::low.
void LogPlug::trace | ( | const std::string & | message, | |
LevelOfDetail | levelOfDetail = Log::DefaultLevelOfDetailForMessage | |||
) | [static, inherited] |
Sends a message to the default log channel trace.
This channel is to be used to send messages describing the function calls. This may, or may not, interest the user.
Definition at line 722 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::LogSystemNotInitialized, Ceylan::Log::LogSource::send(), and Ceylan::Log::LogPlug::TraceLogSource.
Referenced by Ceylan::Log::LogPlug::StopService().
void LogPlug::warning | ( | const std::string & | message, | |
LevelOfDetail | levelOfDetail = Log::MaximumLevelOfDetailForMessage | |||
) | [static, inherited] |
Sends a message to the default log channel warning.
This channel is to be used to issue non critical errors on abnormal events.
Its level of detail should be high.
Definition at line 760 of file CeylanLogPlug.cc.
References Ceylan::Log::LogPlug::LogSystemNotInitialized, Ceylan::Log::LogSource::send(), and Ceylan::Log::LogPlug::WarningLogSource.
Referenced by Ceylan::Log::ObjectIdentifier::ObjectIdentifier(), Ceylan::Log::LogSource::setTransport(), and Ceylan::Log::LogPlug::StopService().
LogAggregator * LogPlug::Aggregator = 0 [static, protected, inherited] |
Plug for the possible Log Aggregator, if framework is purely local.
Definition at line 502 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::CheckBlank(), Ceylan::Log::LogPlug::GetAggregator(), Ceylan::Log::LogPlug::SetAggregator(), Ceylan::Log::LogPlugHTML::StartService(), Ceylan::Log::LogPlugConsole::StartService(), Ceylan::Log::LogPlugClassical::StartService(), Ceylan::Log::LogPlugHTML::StopService(), Ceylan::Log::LogPlugConsole::StopService(), Ceylan::Log::LogPlugClassical::StopService(), and Ceylan::Log::LogPlug::ToString().
LogSource * LogPlug::DebugLogSource = 0 [static, protected, inherited] |
Plug for the debug channel.
Definition at line 465 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::CheckBlank(), Ceylan::Log::LogPlug::CreateBasicPlug(), Ceylan::Log::LogPlug::CreateNullPlug(), Ceylan::Log::LogPlug::debug(), Ceylan::Log::LogPlug::GetDebugLogSource(), Ceylan::Log::LogPlug::SetDebugLogSource(), Ceylan::Log::LogPlug::StartService(), Ceylan::Log::LogPlug::StopService(), and Ceylan::Log::LogPlug::ToString().
LogSource * LogPlug::ErrorLogSource = 0 [static, protected, inherited] |
Plug for the error channel.
Definition at line 473 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::CheckBlank(), Ceylan::Log::LogPlug::CreateBasicPlug(), Ceylan::Log::LogPlug::CreateNullPlug(), Ceylan::Log::LogPlug::error(), Ceylan::Log::LogPlug::GetErrorLogSource(), Ceylan::Log::LogPlug::SetErrorLogSource(), Ceylan::Log::LogPlug::StartService(), Ceylan::Log::LogPlug::StopService(), and Ceylan::Log::LogPlug::ToString().
LogSource * LogPlug::FatalLogSource = 0 [static, protected, inherited] |
Plug for the fatal channel.
Definition at line 477 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::CheckBlank(), Ceylan::Log::LogPlug::CreateBasicPlug(), Ceylan::Log::LogPlug::CreateNullPlug(), Ceylan::Log::LogPlug::fatal(), Ceylan::Log::LogPlug::GetFatalLogSource(), Ceylan::Log::LogPlug::IsFatalLogSourceAvailable(), Ceylan::Log::LogPlug::SetFatalLogSource(), Ceylan::Log::LogPlug::StartService(), Ceylan::Log::LogPlug::StopService(), and Ceylan::Log::LogPlug::ToString().
string LogPlug::FullExecutablePath = "" [static, protected, inherited] |
Records the full path of current executable, for later use.
Definition at line 510 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::GetFullExecutablePath(), and Ceylan::Log::LogPlug::SetFullExecutablePath().
LogSource * LogPlug::InfoLogSource = 0 [static, protected, inherited] |
Plug for the info channel.
Definition at line 457 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::CheckBlank(), Ceylan::Log::LogPlug::CreateBasicPlug(), Ceylan::Log::LogPlug::CreateNullPlug(), Ceylan::Log::LogPlug::GetInfoLogSource(), Ceylan::Log::LogPlug::info(), Ceylan::Log::LogPlug::SetInfoLogSource(), Ceylan::Log::LogPlug::StartService(), Ceylan::Log::LogPlug::StopService(), and Ceylan::Log::LogPlug::ToString().
LogListener * LogPlug::Listener = 0 [static, protected, inherited] |
Plug for the possible Log Listener, if framework is purely local.
Definition at line 494 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::CheckBlank(), Ceylan::Log::LogPlug::GetListener(), Ceylan::Log::LogPlug::SetListener(), and Ceylan::Log::LogPlug::ToString().
LogSource * LogPlug::LogrootLogSource = 0 [static, protected, inherited] |
Plug for the log root channel.
Definition at line 481 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::CheckBlank(), Ceylan::Log::LogPlug::CreateBasicPlug(), Ceylan::Log::LogPlug::CreateNullPlug(), Ceylan::Log::LogPlug::GetLogRootLogSource(), Ceylan::Log::LogPlug::logroot(), Ceylan::Log::LogPlug::SetLogRootLogSource(), Ceylan::Log::LogPlug::StartService(), Ceylan::Log::LogPlug::StopService(), and Ceylan::Log::LogPlug::ToString().
const string LogPlug::LogSystemNotInitialized [static, inherited] |
"Attempt of using the Log system whereas it has not been initialized yet. " "Consider using LogPlug<Implementation>::StartService, " "for example LogPlugClassical::StartService"
Error message to be displayed on attempt of using the Log system, whereas the service has not been started yet (empty plug).
Definition at line 319 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::debug(), Ceylan::Log::LogPlug::error(), Ceylan::Log::LogPlug::fatal(), Ceylan::Log::LogPlug::info(), Ceylan::Log::LogPlug::logroot(), Ceylan::Log::LogPlug::trace(), and Ceylan::Log::LogPlug::warning().
string LogPlug::SourceName = "<no source specified>" [static, protected, inherited] |
Records the source name, which initiated the log session.
Definition at line 514 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::GetSourceName(), and Ceylan::Log::LogPlug::StartService().
LogSource * LogPlug::TraceLogSource = 0 [static, protected, inherited] |
Plug for the trace channel.
Definition at line 461 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::CheckBlank(), Ceylan::Log::LogPlug::CreateBasicPlug(), Ceylan::Log::LogPlug::CreateNullPlug(), Ceylan::Log::LogPlug::GetTraceLogSource(), Ceylan::Log::LogPlug::SetTraceLogSource(), Ceylan::Log::LogPlug::StartService(), Ceylan::Log::LogPlug::StopService(), Ceylan::Log::LogPlug::ToString(), and Ceylan::Log::LogPlug::trace().
LogTransport * LogPlug::Transport = 0 [static, protected, inherited] |
Plug for the Log transport.
Definition at line 485 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::CheckBlank(), Ceylan::Log::LogPlug::CreateBasicPlug(), Ceylan::Log::LogPlug::GetTransport(), Ceylan::Log::LogPlug::SetTransport(), Ceylan::Log::LogPlugHTML::StartService(), Ceylan::Log::LogPlugConsole::StartService(), Ceylan::Log::LogPlugClassical::StartService(), Ceylan::Log::LogPlugHTML::StopService(), Ceylan::Log::LogPlugConsole::StopService(), Ceylan::Log::LogPlugClassical::StopService(), and Ceylan::Log::LogPlug::ToString().
LogSource * LogPlug::WarningLogSource = 0 [static, protected, inherited] |
Plug for the warning channel.
Definition at line 469 of file CeylanLogPlug.h.
Referenced by Ceylan::Log::LogPlug::CheckBlank(), Ceylan::Log::LogPlug::CreateBasicPlug(), Ceylan::Log::LogPlug::CreateNullPlug(), Ceylan::Log::LogPlug::GetWarningLogSource(), Ceylan::Log::LogPlug::SetWarningLogSource(), Ceylan::Log::LogPlug::StartService(), Ceylan::Log::LogPlug::StopService(), Ceylan::Log::LogPlug::ToString(), and Ceylan::Log::LogPlug::warning().