|
typedef Delegate< ::std::string > * | LoggerWrite |
| Defines an alias type for onLoggerWrite delegate
|
|
|
static int | WriteLogEntry (sP2PBase *sender,::std::string Text) |
| Writes a log entry.
|
|
static int | WriteLogEntry (::std::string sender,::std::string Text) |
| Writes a log entry.
|
|
static void | Activate () |
| Activates this Logger.
|
|
static void | Deactivate () |
| Deactivates this Logger
|
|
static void | Reset () |
| Resets this loger and attached events
|
|
static bool | IsActive () |
| Gets value indicating logger is active or not
|
|
static Event< const char * > & | onLoggerWrite () |
| Gets On-Log-Enrty-Write event, attach your handlers(sp2p Delegates to it)
|
|
|
::std::string | log_file |
| The log file path if file is to be used for logging , otherwise set it blank.
|
|
Defines an alias type for onLoggerWrite delegate
static void sp2plib::Logger::Activate |
( |
| ) |
|
|
static |
static void sp2plib::Logger::Deactivate |
( |
| ) |
|
|
static |
static bool sp2plib::Logger::IsActive |
( |
| ) |
|
|
static |
Gets value indicating logger is active or not
static Event<const char*>& sp2plib::Logger::onLoggerWrite |
( |
| ) |
|
|
static |
Gets On-Log-Enrty-Write event, attach your handlers(sp2p Delegates to it)
static void sp2plib::Logger::Reset |
( |
| ) |
|
|
static |
Resets this loger and attached events
static int sp2plib::Logger::WriteLogEntry |
( |
sP2PBase * |
sender, |
|
|
::std::string |
Text |
|
) |
| |
|
static |
Writes a log entry.
- Parameters
-
sender | Sender object |
Text | The log entry text. |
- Returns
- .
static int sp2plib::Logger::WriteLogEntry |
( |
::std::string |
sender, |
|
|
::std::string |
Text |
|
) |
| |
|
static |
Writes a log entry.
- Parameters
-
sender | Sender object. |
Text | The log entry text. |
- Returns
- .
The documentation for this class was generated from the following file: