Свойство | Тип | Описание | |
---|---|---|---|
AdjustSystemEventSource | void | ||
DynamicLogger | System | ||
GetLogFile | string | ||
GetPathToLogFile | string | ||
WriteLog | void |
Метод | Описание | |
---|---|---|
ConfigureFileLogger ( string logFilePath ) : void |
Configures the default file logger.
|
|
StackTraceException ( |
String representation of given exception stack trace (with all inner exceptions)
|
|
WriteLoggerLogError ( string text ) : string |
Logger writes log into the log-file
|
|
WriteLoggerLogError ( string text, |
Logger writes log into the log-file
|
|
WriteLoggerLogInfo ( string text ) : string |
Logger writes log into the log-file
|
Метод | Описание | |
---|---|---|
AdjustSystemEventSource ( ) : void |
Creates the system event source of the service if it does not exist.
|
|
DynamicLogger ( ) : System |
Static constructor.
|
|
GetLogFile ( ) : string |
Get path to log file on file system and create all directories in this path which not yet exists.
|
|
GetPathToLogFile ( ) : string |
Returns path to log file for this web service
|
|
WriteLog ( string text, EventLogEntryType eventLogEntryType, |
Writes a log.
|
public static ConfigureFileLogger ( string logFilePath ) : void | ||
logFilePath | string | |
Результат | void |
public StackTraceException ( |
||
exception | ||
Результат | string |
public WriteLoggerLogError ( string text ) : string | ||
text | string | String to write into the log |
Результат | string |
public WriteLoggerLogError ( string text, |
||
text | string | String to write into the log |
exception | Exception to log | |
Результат | string |
public WriteLoggerLogInfo ( string text ) : string | ||
text | string | String to write into the log |
Результат | string |