Photon Quantum 3.0.0

Public Member Functions | List of all members
Quantum.LogStream Class Referenceabstract

Interface for logging streams. More...

Inheritance diagram for Quantum.LogStream:
Quantum.TextWriterLogStream Quantum.ConsoleLogStream

Public Member Functions

virtual void Dispose ()
 
abstract void Log (Exception error)
 Logs an exception. More...
 
virtual void Log (ILogSource source, Exception error)
 Logs a message with an exception. More...
 
virtual void Log (ILogSource source, string message)
 Logs a message with a source. More...
 
virtual void Log (ILogSource source, string message, Exception error)
 Logs a message with a source and an exception. More...
 
abstract void Log (string message)
 Logs a message. More...
 
virtual void Log (string message, Exception error)
 Logs a message with an exception. More...
 

Detailed Description

Interface for logging streams.

Member Function Documentation

◆ Log() [1/6]

virtual void Quantum.LogStream.Log ( ILogSource  source,
string  message 
)
virtual

Logs a message with a source.

Parameters
sourceThe source of the log message.
messageThe log message.

Reimplemented in Quantum.TextWriterLogStream, and Quantum.ConsoleLogStream.

◆ Log() [2/6]

abstract void Quantum.LogStream.Log ( string  message)
pure virtual

Logs a message.

Parameters
messageThe log message.

Implemented in Quantum.TextWriterLogStream.

◆ Log() [3/6]

virtual void Quantum.LogStream.Log ( ILogSource  source,
string  message,
Exception  error 
)
virtual

Logs a message with a source and an exception.

Parameters
sourceThe source of the log message.
messageThe log message.
errorThe exception to log.

Reimplemented in Quantum.TextWriterLogStream, and Quantum.ConsoleLogStream.

◆ Log() [4/6]

virtual void Quantum.LogStream.Log ( ILogSource  source,
Exception  error 
)
virtual

Logs a message with an exception.

Parameters
sourceThe source of the log message.
errorThe exception to log.

◆ Log() [5/6]

virtual void Quantum.LogStream.Log ( string  message,
Exception  error 
)
virtual

Logs a message with an exception.

Parameters
messageThe log message.
errorThe exception to log.

Reimplemented in Quantum.TextWriterLogStream.

◆ Log() [6/6]

abstract void Quantum.LogStream.Log ( Exception  error)
pure virtual

Logs an exception.

Parameters
errorThe exception to log.

Implemented in Quantum.TextWriterLogStream.