Свойство | Type | Description | |
---|---|---|---|
GetProcessId | int |
Méthode | Description | |
---|---|---|
Debug ( |
Records a debug exception in the log file if debug logging is enabled.
|
|
Debug ( string message ) : void |
Records the message in the log file if debug logging is enabled.
|
|
Fatal ( |
Records a fatal exception in the log file if fatal logging is enabled.
|
|
Fatal ( string message ) : void |
Records the message in the log file if fatal logging is enabled.
|
|
Info ( |
Records an info exception in the log file if info logging is enabled.
|
|
Info ( string message ) : void |
Records the message in the log file if info logging is enabled.
|
|
Warn ( |
Records a warn exception in the log file if warn logging is enabled.
|
|
Warn ( string message ) : void |
Records the message in the log file if warn logging is enabled.
|
Méthode | Description | |
---|---|---|
Write ( string level, string message ) : void |
Writes the level and message to the log file including the current time and process id.
|
Méthode | Description | |
---|---|---|
GetProcessId ( ) : int |
public static Debug ( |
||
ex | The exception to be recorded in the log file. | |
Résultat | void |
public static Debug ( string message ) : void | ||
message | string | The text message to record in the log file. |
Résultat | void |
public static Fatal ( |
||
ex | The exception to be recorded in the log file. | |
Résultat | void |
public static Fatal ( string message ) : void | ||
message | string | The text message to record in the log file. |
Résultat | void |
public static Info ( |
||
ex | The exception to be recorded in the log file. | |
Résultat | void |
public static Info ( string message ) : void | ||
message | string | The text message to record in the log file. |
Résultat | void |
public static Warn ( |
||
ex | The exception to be recorded in the log file. | |
Résultat | void |
public static Warn ( string message ) : void | ||
message | string | The text message to record in the log file. |
Résultat | void |
protected static Write ( string level, string message ) : void | ||
level | string | The level of the message. Values include debug, info, warn and fatal. |
message | string | The message string to be written. |
Résultat | void |