Static wrapper around ILog (gEnv->pLog) More...
Static Public Member Functions | |
static void | Info (string msg) |
Log an info message to the console and log. More... | |
static void | Info (string format, params object[] args) |
Log a formatted info message to the console and log. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | Info< T > (string msg) |
Log an info message to the console and log, and prefix it with the type name. Example: [Mono] [Log] My info message. More... | |
static void | Info< T > (string format, params object[] args) |
Log a formatted info message to the console and log, and prefix it with the type name. Example: [Mono] [Log] My info message. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | Always (string msg) |
Log a message to the console and log that is always printed. More... | |
static void | Always (string format, params object[] args) |
Log a formatted message to the console and log that is always printed. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | Always< T > (string msg) |
Log a message to the console and log that is always printed, and prefix it with the type name. Example: [Mono] [Log] My message. More... | |
static void | Always< T > (string format, params object[] args) |
Log a formatted message to the console and log that is always printed, and prefix it with the type name. Example: [Mono] [Log] My message. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | Warning (string msg) |
Log a warning message to the console and log. More... | |
static void | Warning (string format, params object[] args) |
Log a formatted warning message to the console and log. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | Warning< T > (string msg) |
Log a warning message to the console and log, and prefix it with the type name. Example: [Mono] [Log] My warning message. More... | |
static void | Warning< T > (string format, params object[] args) |
Log a formatted warning message to the console and log, and prefix it with the type name. Example: [Mono] [Log] My warning message. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | Error (string msg) |
Log an error message to the console and log. More... | |
static void | Error (string format, params object[] args) |
Log a formatted error message to the console and log. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | Error< T > (string msg) |
Log an error message to the console and log, and prefix it with the type name. Example: [Mono] [Log] My error message. More... | |
static void | Error< T > (string format, params object[] args) |
Log a formatted error message to the console and log, and prefix it with the type name. Example: [Mono] [Log] My error message. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | ToConsole (string msg) |
Log a message only to the console. More... | |
static void | ToConsole (string format, params object[] args) |
Log a formatted message only to the console. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | ToConsole< T > (string msg) |
Log a message only to the console and prefix it with the name of the type. Example: [Mono] [Log] My console message. More... | |
static void | ToConsole< T > (string format, params object[] args) |
Log a formatted message only to the console and prefix it with the name of the type. Example: [Mono] [Log] My console message. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | ToFile (string msg) |
Log a message only to the log file. More... | |
static void | ToFile (string format, params object[] args) |
Log a formatted message only to the log file. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | ToFile< T > (string msg) |
Log a message only to the log file and prefix it with the name of the type. Example: [Mono] [Log] My log file message. More... | |
static void | ToFile< T > (string format, params object[] args) |
Log a formatted message only to the log file and prefix it with the name of the type. Example: [Mono] [Log] My log file message. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | Exception (Exception ex) |
Log an exception to the console and log. More... | |
static void | Exception (Exception ex, string format, params object[] args) |
Log an exception to the console and log with a formatted custom error message. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | Exception (Exception ex, string customError) |
Log an exception to the console and log with a custom error message. More... | |
static void | Exception< T > (Exception ex) |
Log an exception to the console and log and prefix it with the name of the type. More... | |
static void | Exception< T > (Exception ex, string format, params object[] args) |
Log an exception to the console and log with a formatted custom error message and prefix it with the name of the type. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | Exception< T > (Exception ex, string customError=null) |
Log an exception to the console and log with a custom error message and prefix it with the name of the type. For more information on formatting refer to string.Format(string, object[]). More... | |
static void | StackTrace () |
Log current stack trace More... | |
Properties | |
static string | FileName [get, set] |
The path of the file where the log is saved to. More... | |
static bool | BreakOnException [get, set] |
If true, the debugger will break when an exception is thrown. More... | |
Static wrapper around ILog (gEnv->pLog)
|
inline static |
Log a message to the console and log that is always printed.
msg |
|
inline static |
Log a formatted message to the console and log that is always printed. For more information on formatting refer to string.Format(string, object[]).
format | |
args |
|
inline static |
|
inline static |
|
inline static |
Log an error message to the console and log.
msg |
|
inline static |
Log a formatted error message to the console and log. For more information on formatting refer to string.Format(string, object[]).
format | |
args |
|
inline static |
|
inline static |
|
inline static |
Log an exception to the console and log.
ex |
|
inline static |
Log an exception to the console and log with a formatted custom error message. For more information on formatting refer to string.Format(string, object[]).
ex | |
format | |
args |
|
inline static |
Log an exception to the console and log with a custom error message.
ex | |
customError |
|
inline static |
Log an exception to the console and log and prefix it with the name of the type.
T |
ex |
|
inline static |
Log an exception to the console and log with a formatted custom error message and prefix it with the name of the type. For more information on formatting refer to string.Format(string, object[]).
T |
ex | |
format | |
args |
|
inline static |
Log an exception to the console and log with a custom error message and prefix it with the name of the type. For more information on formatting refer to string.Format(string, object[]).
T |
ex | |
customError |
|
inline static |
Log an info message to the console and log.
msg |
|
inline static |
Log a formatted info message to the console and log. For more information on formatting refer to string.Format(string, object[]).
format | |
args |
|
inline static |
|
inline static |
|
inline static |
Log current stack trace
|
inline static |
Log a message only to the console.
msg |
|
inline static |
Log a formatted message only to the console. For more information on formatting refer to string.Format(string, object[]).
format | |
args |
|
inline static |
|
inline static |
|
inline static |
Log a message only to the log file.
msg |
|
inline static |
Log a formatted message only to the log file. For more information on formatting refer to string.Format(string, object[]).
format | |
args |
|
inline static |
|
inline static |
|
inline static |
Log a warning message to the console and log.
msg |
|
inline static |
Log a formatted warning message to the console and log. For more information on formatting refer to string.Format(string, object[]).
format | |
args |
|
inline static |
|
inline static |
|
static get set |
If true, the debugger will break when an exception is thrown.
|
static get set |
The path of the file where the log is saved to.