Class Debug
Syntax
public static class Debug
Methods
Log(Object)
Writes an object's ToString to stdout.
This function is affected by log history/spam filtering, and will be suppressed if it Logs too frequently
Declaration
[Conditional("DEBUG")]
public static void Log(object logObject)
Parameters
Type |
Name |
Description |
Object |
logObject |
|
LogAlways(Object)
Writes an object's ToString to stdout.
This function will always log (it is unaffected by log history/spam filtering)
Declaration
[Conditional("DEBUG")]
public static void LogAlways(object logObject)
Parameters
Type |
Name |
Description |
Object |
logObject |
|
LogError(Object)
Writes an object's ToString to stdout as a error.
This function is affected by log history/spam filtering, and will be suppressed if it Logs too frequently
Declaration
[Conditional("DEBUG")]
public static void LogError(object message)
Parameters
Type |
Name |
Description |
Object |
message |
|
LogException(Exception)
Writes a formatted string to stdout.
This function is affected by log history/spam filtering, and will be suppressed if it Logs too frequently
Declaration
[Conditional("DEBUG")]
public static void LogException(Exception exception)
Parameters
LogExceptionAlways(Exception)
Writes a formatted string to stdout.
This function is affected by log history/spam filtering, and will be suppressed if it Logs too frequently
Declaration
[Conditional("DEBUG")]
public static void LogExceptionAlways(Exception exception)
Parameters
Writes a formatted string to stdout.
This function is affected by log history/spam filtering, and will be suppressed if it Logs too frequently
Declaration
[Conditional("DEBUG")]
public static void LogFormat(string format, params object[] args)
Parameters
Writes a formatted string to stdout.
This function will always log (it is unaffected by log history/spam filtering)
Declaration
[Conditional("DEBUG")]
public static void LogFormatAlways(string format, params object[] args)
Parameters
Declaration
public static void LogFormatRelease(string format, params object[] args)
Parameters
Declaration
public static void LogFormatReleaseAlways(string format, params object[] args)
Parameters
LogRelease(Object)
Declaration
public static void LogRelease(object logObject)
Parameters
Type |
Name |
Description |
Object |
logObject |
|
LogReleaseAlways(Object)
Declaration
public static void LogReleaseAlways(object logObject)
Parameters
Type |
Name |
Description |
Object |
logObject |
|
LogReleaseException(Exception)
Declaration
public static void LogReleaseException(Exception exception)
Parameters
LogReleaseExceptionAlways(Exception)
Declaration
public static void LogReleaseExceptionAlways(Exception exception)
Parameters
LogWarning(Object)
Writes an object's ToString to stdout as a warning.
This function is affected by log history/spam filtering, and will be suppressed if it Logs too frequently
Declaration
[Conditional("DEBUG")]
public static void LogWarning(object message)
Parameters
Type |
Name |
Description |
Object |
message |
|