Stormancer.DebugLogger Class Reference

Inherits Stormancer.Diagnostics.ILogger.

Public Member Functions

void Log (LogLevel logLevel, string category, string message, object context=null)
 Logs a json message More...
void Trace (string message, params object[] p)
void Debug (string message, params object[] p)
void Error (Exception ex)
void Error (string format, params object[] p)
void Info (string format, params object[] p)

Static Public Attributes

static readonly DebugLogger Instance = new DebugLogger()

Member Function Documentation

◆ Log()

void Stormancer.DebugLogger.Log ( LogLevel  level,
string  category,
string  message,
object  data = null 

Logs a json message

levelThe log level of the message.
categoryThe category of the message.
messageLog message
dataAdditionnal data about the log.

Implements Stormancer.Diagnostics.ILogger.

The documentation for this class was generated from the following file:
  • Stormancer.Unity/ILogger.cs