BTVisualFTP 3.0
|
Provides a simple logging mechanism. More...
Public Member Functions | |
TLogger (TComponent AOwner) | |
Constructor. | |
~TLogger () | |
Destructor. | |
Debug (const string MessageText) | |
Write a message with DEBUG level. | |
Info (const string MessageText) | |
Write a message with INFO level. | |
Warn (const string MessageText) | |
Write a message with WARN level. | |
Error (const string MessageText) | |
Write a message with ERROR level. | |
Fatal (const string MessageText) | |
Write a message with FATAL level. | |
Public Attributes | |
TLogLevel | LogLevel |
Log detail level. | |
TLogEvent | OnLog |
Custom event handler for logging. |
Provides a simple logging mechanism.
TLogger::TLogger | ( | TComponent | AOwner | ) |
Constructor.
References LogLevel.
TLogger::~TLogger | ( | ) |
Destructor.
TLogger::Debug | ( | const string | MessageText | ) |
Write a message with DEBUG level.
MessageText | The log message. |
TLogger::Error | ( | const string | MessageText | ) |
Write a message with ERROR level.
MessageText | The log message. |
Referenced by TFtpConnection::Connect().
TLogger::Fatal | ( | const string | MessageText | ) |
Write a message with FATAL level.
MessageText | The log message. |
TLogger::Info | ( | const string | MessageText | ) |
Write a message with INFO level.
MessageText | The log message. |
Referenced by TFtpConnection::Connect().
TLogger::Warn | ( | const string | MessageText | ) |
Write a message with WARN level.
MessageText | The log message. |
Referenced by TFtpConnection::Connect().
Custom event handler for logging.