Class DebugLogger
- Namespace
- SunamoLogging.Logger.LoggerBaseNS
- Assembly
- SunamoLogging.dll
Debug logger implementation that writes to debug output. This logger is available in Sunamo and provides debug output functionality. For faster logging without explicit methods, create a custom logger class in your application project. The compiler should optimize the calls to be equally efficient.
public class DebugLogger : LoggerBase, ILoggerBase
- Inheritance
-
DebugLogger
- Implements
- Inherited Members
- Extension Methods
Constructors
DebugLogger(Action<string, string[]>)
Debug logger implementation that writes to debug output. This logger is available in Sunamo and provides debug output functionality. For faster logging without explicit methods, create a custom logger class in your application project. The compiler should optimize the calls to be equally efficient.
public DebugLogger(Action<string, string[]> writeLineHandler)
Parameters
Properties
Instance
Gets the singleton instance of the debug logger.
public static LoggerBase Instance { get; }
Property Value
LoggerInstance
Singleton instance of the debug logger. MUST be always in #if DEBUG - otherwise throws anonymous error in release and it's hard to find!
public static DebugLogger? LoggerInstance { get; set; }
Property Value
Methods
Break()
Breaks into the debugger.
public static void Break()
BreakOrReadLine()
Breaks into debugger in DEBUG mode.
public static void BreakOrReadLine()