Photon Quantum 3.0.0

Public Member Functions | List of all members
Quantum.ILogger Interface Reference

Represents a logger. More...

Inheritance diagram for Quantum.ILogger:
Quantum.TextWriterLogger Quantum.ConsoleLogger

Public Member Functions

void Log (LogType logType, string message, in LogContext logContext)
 Logs a message. More...
 
void LogException (Exception ex, in LogContext logContext)
 Logs an exception. More...
 

Detailed Description

Represents a logger.

Member Function Documentation

◆ Log()

void Quantum.ILogger.Log ( LogType  logType,
string  message,
in LogContext  logContext 
)

Logs a message.

Parameters
logTypeLog type
messageMessage
logContextAdditional info about the log context

Implemented in Quantum.TextWriterLogger.

◆ LogException()

void Quantum.ILogger.LogException ( Exception  ex,
in LogContext  logContext 
)

Logs an exception.

Parameters
exAn exception
logContextAdditional info about the log context

Implemented in Quantum.TextWriterLogger.