Photon Server API
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 debug message. 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 debug message. More...
 
void DebugFormat (IFormatProvider provider, string format, params object[] args)
 Logs a formatted debug message. More...
 
void Error (object message)
 Logs an error message. More...
 
void Error (object message, Exception exception)
 Logs an error message with an exception. More...
 
void ErrorFormat (string format, params object[] args)
 Logs a formatted error message. More...
 
void ErrorFormat (IFormatProvider provider, string format, params object[] args)
 Logs a formatted error message. More...
 
void Fatal (object message)
 Logs a fatal message. 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 fatal message. More...
 
void FatalFormat (IFormatProvider provider, string format, params object[] args)
 Logs a formatted fatal message. More...
 
void Info (object message)
 Logs an info message. More...
 
void Info (object message, Exception exception)
 Logs a info message with an exception. More...
 
void InfoFormat (string format, params object[] args)
 Logs a formatted info message. More...
 
void InfoFormat (IFormatProvider provider, string format, params object[] args)
 Logs a formatted info message. More...
 
void Warn (object message)
 Logs a warning. More...
 
void Warn (object message, Exception exception)
 Logs a warning with an exception. More...
 
void WarnFormat (string format, params object[] args)
 Logs a formatted warning. More...
 
void WarnFormat (IFormatProvider provider, string format, params object[] args)
 Logs a formatted warning. 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. More...
 

Detailed Description

Interface for a logger.

Member Function Documentation

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

Logs a debug message.

Parameters
messageThe message.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a debug message with an exception.

Parameters
messageThe message.
exceptionThe exception.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a formatted debug message.

Parameters
formatThe formatted string.
argsThe args.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a formatted debug message.

Parameters
providerThe provider.
formatThe formatted string.
argsThe args.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs an error message.

Parameters
messageThe message.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs an error message with an exception.

Parameters
messageThe message.
exceptionThe exception.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a formatted error message.

Parameters
formatThe formatted string.
argsThe args.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a formatted error message.

Parameters
providerThe provider.
formatThe formatted string.
argsThe args.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a fatal message.

Parameters
messageThe message.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a fatal message with an exception.

Parameters
messageThe message.
exceptionThe exception.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a formatted fatal message.

Parameters
formatThe formatted string.
argsThe args.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a formatted fatal message.

Parameters
providerThe provider.
formatThe formatted string.
argsThe args.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs an info message.

Parameters
messageThe message.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a info message with an exception.

Parameters
messageThe message.
exceptionThe exception.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a formatted info message.

Parameters
formatThe formatted string.
argsThe args.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a formatted info message.

Parameters
providerThe provider.
formatThe formatted string.
argsThe args.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a warning.

Parameters
messageThe message.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a warning with an exception.

Parameters
messageThe message.
exceptionThe exception.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a formatted warning.

Parameters
formatThe formatted string.
argsThe args.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

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

Logs a formatted warning.

Parameters
providerThe provider.
formatThe formatted string.
argsThe args.

Implemented in ExitGames.Logging.Log4Net.Log4NetLogger.

Property Documentation

bool ExitGames.Logging.ILogger.IsDebugEnabled
get

Gets a value indicating whether debug logging level is enabled.

bool ExitGames.Logging.ILogger.IsErrorEnabled
get

Gets a value indicating whether error logging level is enabled.

bool ExitGames.Logging.ILogger.IsFatalEnabled
get

Gets a value indicating whether fatal logging level is enabled.

bool ExitGames.Logging.ILogger.IsInfoEnabled
get

Gets a value indicating whether info logging level is enabled.

bool ExitGames.Logging.ILogger.IsWarnEnabled
get

Gets a value indicating whether warn logging level is enabled.

string ExitGames.Logging.ILogger.Name
get

Gets the name.