Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
SendToAppFail ( |
public static AddGlobalCustomParameter ( string name, string value ) : void | ||
name | string | |
value | string | |
return | void |
public static GetNamedLogger ( |
||
loggedType | The type which will be used as the logger's name. | |
return | ILogger |
public static GetNamedLogger ( string logName ) : ILogger | ||
logName | string | Name of the logger to use for logging. |
return | 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. |
return | void |
public static InitialiseFromConfig ( string loggerName ) : void | ||
loggerName | string | |
return | void |
public static LogDebugMessage ( string message ) : void | ||
message | string | The message to log. |
return | void |
public static LogError ( string message, |
||
message | string | The message to log. |
exception | The exception to log. | |
return | void |
public static LogFatalError ( string message, |
||
message | string | The message to log. |
exception | The exception to log. | |
return | void |
public static LogInfoMessage ( string message ) : void | ||
message | string | The message to log. |
return | void |
public static LogWarningMessage ( string message ) : void | ||
message | string | The message to log. |
return | void |