Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Quantum.LogContext Struct Reference

Additional info about the log context. More...

Public Member Functions

 LogContext (string prefix, object source)
 Creates a new log context. More...
 

Public Attributes

readonly string Prefix
 A prefix for the log message. More...
 
readonly object Source
 An object that is the source of the log message. More...
 

Detailed Description

Additional info about the log context.

Constructor & Destructor Documentation

◆ LogContext()

Quantum.LogContext.LogContext ( string  prefix,
object  source 
)
inline

Creates a new log context.

Parameters
prefixLog message prefix
sourceAn object that is the source of the log message

Member Data Documentation

◆ Prefix

readonly string Quantum.LogContext.Prefix

A prefix for the log message.

◆ Source

readonly object Quantum.LogContext.Source

An object that is the source of the log message.