Метод | Описание | |
---|---|---|
AddGlobalCustomParameter ( string name, string value ) : void | ||
GetNamedLogger ( |
Returns a new instance of ILogger with a name taken from a type Need to have called Initialise before you can get a working logger |
|
GetNamedLogger ( string logName ) : ILogger |
Returns a new instance of ILogger with a given name Need to have called Initialise before you can get a working logger |
|
Initialise ( string configFilePath, string loggerName ) : void |
Initialises AppLogger using the specified config file.
|
|
InitialiseFromConfig ( string loggerName ) : void |
Initialises AppLogger using the Aqueduct.Config file. Uses the contents of the Diagnostics.Config setting to Initialise the loggerTo enable the intrelnal log debugging set Diagnostics.InternalDebugMode setting to true |
|
LogDebugMessage ( string message ) : void |
Writes DEBUG-level message to the configured log.
|
|
LogError ( string message, |
Writes ERROR-level message to the configured log.
|
|
LogFatalError ( string message, |
Writes FATAL-level message to the configured log.
|
|
LogInfoMessage ( string message ) : void |
Writes INFO-level message to the configured log.
|
|
LogWarningMessage ( string message ) : void |
Writes WARNING-level message to the configured log.
|
Метод | Описание | |
---|---|---|
SendToAppFail ( |
public static AddGlobalCustomParameter ( string name, string value ) : void | ||
name | string | |
value | string | |
Результат | void |
public static GetNamedLogger ( |
||
loggedType | The type which will be used as the logger's name. | |
Результат | ILogger |
public static GetNamedLogger ( string logName ) : ILogger | ||
logName | string | Name of the logger to use for logging. |
Результат | ILogger |
public static Initialise ( string configFilePath, string loggerName ) : void | ||
configFilePath | string | Name of the config file to load configuration from. |
loggerName | string | Name of the logger to use for logging. |
Результат | void |
public static InitialiseFromConfig ( string loggerName ) : void | ||
loggerName | string | |
Результат | void |
public static LogDebugMessage ( string message ) : void | ||
message | string | The message to log. |
Результат | void |
public static LogError ( string message, |
||
message | string | The message to log. |
exception | The exception to log. | |
Результат | void |
public static LogFatalError ( string message, |
||
message | string | The message to log. |
exception | The exception to log. | |
Результат | void |
public static LogInfoMessage ( string message ) : void | ||
message | string | The message to log. |
Результат | void |
public static LogWarningMessage ( string message ) : void | ||
message | string | The message to log. |
Результат | void |