Log Properties |
The Log type exposes the following members.
Name | Description | |
---|---|---|
Debug | Static ConditionalLogger that is used to log Debug log messages - always null in this build. | |
DebuggerBreakLogLevel | ||
Error | Static ConditionalLogger that is used to log Error log messages. | |
Fatal | Static ConditionalLogger that is used to log Fatal log messages. | |
Info | Static ConditionalLogger that is used to log Info log messages - always null in this build. | |
IsDebug | True when Debug or higher LogLevel is enabled - always false in this build. | |
IsEnabled | True when any logger is enabled and CurrentLogLevel is more than None. | |
IsError | True when Error or higher LogLevel is enabled. | |
IsFatal | True when Fatal or higher LogLevel is enabled. | |
IsInfo | True when Info or higher LogLevel is enabled - always false in this build. | |
IsLoggingToDebugOutput | Gets or sets a Boolean that specifies if log messages are written to debug output (for example Visual Studio Output window). | |
IsTrace | True when Trace or higher LogLevel is enabled - always false in this build. | |
IsWarn | True when Warn or higher LogLevel is enabled. | |
License | Static ConditionalLogger that is used to log License log messages - always null in this build. | |
LogAreaFilter | LogAreaFilter can be set to a string that acts as a LogArea filter and writes only log messages from the specified LogArea. This text can also end with '*' char that is then used as wildcard and will filter all LogAreas that starts with the text before the '*' char. The filter needs to include the namespace and type name, for example "Ab4d.SharpEngine.SceneView" or "Ab4d.SharpEngine.Effects.*" | |
LogFileName | ||
LogLevel | Gets or sets the current log level. | |
Trace | Static ConditionalLogger that is used to log Trace log messages - always null in this build. | |
Warn | Static ConditionalLogger that is used to log Warn log messages. | |
WriteProcessPrivateMemorySize | When true, then the process's private memory size is written to log. Also, difference in size from the previous log call is written. Writing memory size can significantly slow down logging. Default value is false. | |
WriteSimplifiedLogMessage | When true, then only log message with object id (in square brackets) is written to log. When false (by default), then the full log message in the following format is written: "frame number|time|log level|object id|log area|thread id|message|exception info|" |