프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |