Photon Server API Documentation v5.0RC1

Public Member Functions | Properties | List of all members
ExitGames.Logging.ILogger Interface Reference

Interface for a logger. More...

Inheritance diagram for ExitGames.Logging.ILogger:
ExitGames.Logging.Log4Net.Log4NetLogger

Public Member Functions

void Debug (object message)
 Logs a message at the Debug level. More...
 
void Debug (object message, Exception exception)
 Logs a debug message with an exception. More...
 
void DebugFormat (string format, params object[] args)
 Logs a formatted message string at the Debug level. More...
 
void DebugFormat (IFormatProvider formatProvider, string format, params object[] args)
 Logs a formatted message string at the Debug level. More...
 
void Error (object message)
 Logs a message at the Error level. More...
 
void Error (object message, Exception exception)
 Logs a error message with an exception. More...
 
void ErrorFormat (string format, params object[] args)
 Logs a formatted message string at the Error level. More...
 
void ErrorFormat (IFormatProvider formatProvider, string format, params object[] args)
 Logs a formatted message string at the Error level. More...
 
void Fatal (object message)
 Logs a message at the Fatal level. More...
 
void Fatal (object message, Exception exception)
 Logs a fatal message with an exception. More...
 
void FatalFormat (string format, params object[] args)
 Logs a formatted message string at the Fatal level. More...
 
void FatalFormat (IFormatProvider formatProvider, string format, params object[] args)
 Logs a formatted message string at the Fatal level. More...
 
void Info (object message)
 Logs a message at the Info level. More...
 
void Info (object message, Exception exception)
 Logs a warn message with an exception. More...
 
void InfoFormat (string format, params object[] args)
 Logs a formatted message string at the Info level. More...
 
void InfoFormat (IFormatProvider formatProvider, string format, params object[] args)
 Logs a formatted message string at the Info level. More...
 
void Warn (object message)
 Logs a message at the Warn level. More...
 
void Warn (object message, Exception exception)
 Logs a warn message with an exception. More...
 
void WarnFormat (string format, params object[] args)
 Logs a formatted message string at the Info level. More...
 
void WarnFormat (IFormatProvider formatProvider, string format, params object[] args)
 Logs a formatted message string at the Warn level. More...
 

Properties

bool IsDebugEnabled [get]
 Gets a value indicating whether debug logging level is enabled. More...
 
bool IsErrorEnabled [get]
 Gets a value indicating whether error logging level is enabled. More...
 
bool IsFatalEnabled [get]
 Gets a value indicating whether fatal logging level is enabled. More...
 
bool IsInfoEnabled [get]
 Gets a value indicating whether info logging level is enabled. More...
 
bool IsWarnEnabled [get]
 Gets a value indicating whether warn logging level is enabled. More...
 
string Name [get]
 Gets the name of the logger. More...
 

Detailed Description

Interface for a logger.

Member Function Documentation

◆ Debug() [1/2]

void ExitGames.Logging.ILogger.Debug ( object  message)

Logs a message at the Debug level.

Parameters
messageThe message to log.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ Debug() [2/2]

void ExitGames.Logging.ILogger.Debug ( object  message,
Exception  exception 
)

Logs a debug message with an exception.

Parameters
messageThe message to log.
exceptionAn exception to be logged.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ DebugFormat() [1/2]

void ExitGames.Logging.ILogger.DebugFormat ( IFormatProvider  formatProvider,
string  format,
params object[]  args 
)

Logs a formatted message string at the Debug level.

Parameters
formatA composite format string.
argsAn object array that contains zero or more objects to format.
formatProviderAn IFormatProvider that supplies culture-specific formatting information.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ DebugFormat() [2/2]

void ExitGames.Logging.ILogger.DebugFormat ( string  format,
params object[]  args 
)

Logs a formatted message string at the Debug level.

Parameters
formatA composite format string.
argsAn object array that contains zero or more objects to format.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ Error() [1/2]

void ExitGames.Logging.ILogger.Error ( object  message)

Logs a message at the Error level.

Parameters
messageThe message to log.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ Error() [2/2]

void ExitGames.Logging.ILogger.Error ( object  message,
Exception  exception 
)

Logs a error message with an exception.

Parameters
messageThe message to log.
exceptionAn exception to be logged.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ ErrorFormat() [1/2]

void ExitGames.Logging.ILogger.ErrorFormat ( IFormatProvider  formatProvider,
string  format,
params object[]  args 
)

Logs a formatted message string at the Error level.

Parameters
formatA composite format string.
argsAn object array that contains zero or more objects to format.
formatProviderAn IFormatProvider that supplies culture-specific formatting information.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ ErrorFormat() [2/2]

void ExitGames.Logging.ILogger.ErrorFormat ( string  format,
params object[]  args 
)

Logs a formatted message string at the Error level.

Parameters
formatA composite format string.
argsAn object array that contains zero or more objects to format.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ Fatal() [1/2]

void ExitGames.Logging.ILogger.Fatal ( object  message)

Logs a message at the Fatal level.

Parameters
messageThe message to log.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ Fatal() [2/2]

void ExitGames.Logging.ILogger.Fatal ( object  message,
Exception  exception 
)

Logs a fatal message with an exception.

Parameters
messageThe message to log.
exceptionAn exception to be logged.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ FatalFormat() [1/2]

void ExitGames.Logging.ILogger.FatalFormat ( IFormatProvider  formatProvider,
string  format,
params object[]  args 
)

Logs a formatted message string at the Fatal level.

Parameters
formatA composite format string.
argsAn object array that contains zero or more objects to format.
formatProviderAn IFormatProvider that supplies culture-specific formatting information.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ FatalFormat() [2/2]

void ExitGames.Logging.ILogger.FatalFormat ( string  format,
params object[]  args 
)

Logs a formatted message string at the Fatal level.

Parameters
formatA composite format string.
argsAn object array that contains zero or more objects to format.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ Info() [1/2]

void ExitGames.Logging.ILogger.Info ( object  message)

Logs a message at the Info level.

Parameters
messageThe message to log.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ Info() [2/2]

void ExitGames.Logging.ILogger.Info ( object  message,
Exception  exception 
)

Logs a warn message with an exception.

Parameters
messageThe message to log.
exceptionAn exception to be logged.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ InfoFormat() [1/2]

void ExitGames.Logging.ILogger.InfoFormat ( IFormatProvider  formatProvider,
string  format,
params object[]  args 
)

Logs a formatted message string at the Info level.

Parameters
formatA composite format string.
argsAn object array that contains zero or more objects to format.
formatProviderAn IFormatProvider that supplies culture-specific formatting information.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ InfoFormat() [2/2]

void ExitGames.Logging.ILogger.InfoFormat ( string  format,
params object[]  args 
)

Logs a formatted message string at the Info level.

Parameters
formatA composite format string.
argsAn object array that contains zero or more objects to format.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ Warn() [1/2]

void ExitGames.Logging.ILogger.Warn ( object  message)

Logs a message at the Warn level.

Parameters
messageThe message to log.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ Warn() [2/2]

void ExitGames.Logging.ILogger.Warn ( object  message,
Exception  exception 
)

Logs a warn message with an exception.

Parameters
messageThe message to log.
exceptionAn exception to be logged.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ WarnFormat() [1/2]

void ExitGames.Logging.ILogger.WarnFormat ( IFormatProvider  formatProvider,
string  format,
params object[]  args 
)

Logs a formatted message string at the Warn level.

Parameters
formatA composite format string.
argsAn object array that contains zero or more objects to format.
formatProviderAn IFormatProvider that supplies culture-specific formatting information.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

◆ WarnFormat() [2/2]

void ExitGames.Logging.ILogger.WarnFormat ( string  format,
params object[]  args 
)

Logs a formatted message string at the Info level.

Parameters
formatA composite format string.
argsAn object array that contains zero or more objects to format.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

Property Documentation

◆ IsDebugEnabled

bool ExitGames.Logging.ILogger.IsDebugEnabled
get

Gets a value indicating whether debug logging level is enabled.

◆ IsErrorEnabled

bool ExitGames.Logging.ILogger.IsErrorEnabled
get

Gets a value indicating whether error logging level is enabled.

◆ IsFatalEnabled

bool ExitGames.Logging.ILogger.IsFatalEnabled
get

Gets a value indicating whether fatal logging level is enabled.

◆ IsInfoEnabled

bool ExitGames.Logging.ILogger.IsInfoEnabled
get

Gets a value indicating whether info logging level is enabled.

◆ IsWarnEnabled

bool ExitGames.Logging.ILogger.IsWarnEnabled
get

Gets a value indicating whether warn logging level is enabled.

◆ Name

string ExitGames.Logging.ILogger.Name
get

Gets the name of the logger.