Click or drag to resize
Ab4d.SharpEngine logo

Log Properties

The Log type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberDebug Static ConditionalLogger that is used to log Debug log messages - always null in this build.
Public propertyStatic memberDebuggerBreakLogLevel 
Public propertyStatic memberError Static ConditionalLogger that is used to log Error log messages.
Public propertyStatic memberFatal Static ConditionalLogger that is used to log Fatal log messages.
Public propertyStatic memberInfo Static ConditionalLogger that is used to log Info log messages - always null in this build.
Public propertyStatic memberIsDebug True when Debug or higher LogLevel is enabled - always false in this build.
Public propertyStatic memberIsEnabled True when any logger is enabled and CurrentLogLevel is more than None.
Public propertyStatic memberIsError True when Error or higher LogLevel is enabled.
Public propertyStatic memberIsFatal True when Fatal or higher LogLevel is enabled.
Public propertyStatic memberIsInfo True when Info or higher LogLevel is enabled - always false in this build.
Public propertyStatic memberIsLoggingToDebugOutput Gets or sets a Boolean that specifies if log messages are written to debug output (for example Visual Studio Output window).
Public propertyStatic memberIsTrace True when Trace or higher LogLevel is enabled - always false in this build.
Public propertyStatic memberIsWarn True when Warn or higher LogLevel is enabled.
Public propertyStatic memberLicense Static ConditionalLogger that is used to log License log messages - always null in this build.
Public propertyStatic memberLogAreaFilter 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.*"
Public propertyStatic memberLogFileName 
Public propertyStatic memberLogLevel Gets or sets the current log level.
Public propertyStatic memberTrace Static ConditionalLogger that is used to log Trace log messages - always null in this build.
Public propertyStatic memberWarn Static ConditionalLogger that is used to log Warn log messages.
Public propertyStatic memberWriteProcessPrivateMemorySize 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.
Public propertyStatic memberWriteSimplifiedLogMessage 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|"
Top
See Also