Photon Server API
Public Member Functions | Properties | List of all members
ExitGames.Logging.Log4Net.Log4NetLogger Class Reference

An ILogger that wraps log4net ILog. More...

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

Public Member Functions

 Log4NetLogger (ILog logger)
 Initializes a new instance of the Log4NetLogger class. More...
 
void Debug (object message)
 Logs a message. More...
 
void Debug (object message, Exception exception)
 Logs a message. More...
 
void DebugFormat (string format, params object[] args)
 Logs a message. More...
 
void DebugFormat (IFormatProvider provider, string format, params object[] args)
 Logs a message. More...
 
void Error (object message)
 Logs a message. More...
 
void Error (object message, Exception exception)
 Logs a message. More...
 
void ErrorFormat (string format, params object[] args)
 Logs a message. More...
 
void ErrorFormat (IFormatProvider provider, string format, params object[] args)
 Logs a message. More...
 
void Fatal (object message)
 Logs a message. More...
 
void Fatal (object message, Exception exception)
 Logs a message. More...
 
void FatalFormat (string format, params object[] args)
 Logs a message. More...
 
void FatalFormat (IFormatProvider provider, string format, params object[] args)
 Logs a message. More...
 
void Info (object message)
 Logs a message. More...
 
void Info (object message, Exception exception)
 Logs a message. More...
 
void InfoFormat (string format, params object[] args)
 Logs a message. More...
 
void InfoFormat (IFormatProvider provider, string format, params object[] args)
 Logs a message. More...
 
void Warn (object message)
 Logs a message. More...
 
void Warn (object message, Exception exception)
 Logs a message. More...
 
void WarnFormat (string format, params object[] args)
 Logs a message. More...
 
void WarnFormat (IFormatProvider provider, string format, params object[] args)
 Logs a message. More...
 

Properties

bool IsDebugEnabled [get]
 Gets a value indicating whether IsDebugEnabled. More...
 
bool IsErrorEnabled [get]
 Gets a value indicating whether IsErrorEnabled. More...
 
bool IsFatalEnabled [get]
 Gets a value indicating whether IsFatalEnabled. More...
 
bool IsInfoEnabled [get]
 Gets a value indicating whether IsInfoEnabled. More...
 
bool IsWarnEnabled [get]
 Gets a value indicating whether IsWarnEnabled. More...
 
string Name [get]
 Gets Name. More...
 
- Properties inherited from ExitGames.Logging.ILogger
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

An ILogger that wraps log4net ILog.

Constructor & Destructor Documentation

ExitGames.Logging.Log4Net.Log4NetLogger.Log4NetLogger ( ILog  logger)
inline

Initializes a new instance of the Log4NetLogger class.

Parameters
loggerThe logger.

Member Function Documentation

void ExitGames.Logging.Log4Net.Log4NetLogger.Debug ( object  message)
inline

Logs a message.

Parameters
messageThe message.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.Debug ( object  message,
Exception  exception 
)
inline

Logs a message.

Parameters
messageThe message.
exceptionThe exception.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.DebugFormat ( string  format,
params object[]  args 
)
inline

Logs a message.

Parameters
formatThe format.
argsThe args.

Implements ExitGames.Logging.ILogger.

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

Logs a message.

Parameters
providerThe provider.
formatThe format.
argsThe args.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.Error ( object  message)
inline

Logs a message.

Parameters
messageThe message.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.Error ( object  message,
Exception  exception 
)
inline

Logs a message.

Parameters
messageThe message.
exceptionThe exception.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.ErrorFormat ( string  format,
params object[]  args 
)
inline

Logs a message.

Parameters
formatThe format.
argsThe args.

Implements ExitGames.Logging.ILogger.

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

Logs a message.

Parameters
providerThe provider.
formatThe format.
argsThe args.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.Fatal ( object  message)
inline

Logs a message.

Parameters
messageThe message.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.Fatal ( object  message,
Exception  exception 
)
inline

Logs a message.

Parameters
messageThe message.
exceptionThe exception.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.FatalFormat ( string  format,
params object[]  args 
)
inline

Logs a message.

Parameters
formatThe format.
argsThe args.

Implements ExitGames.Logging.ILogger.

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

Logs a message.

Parameters
providerThe provider.
formatThe format.
argsThe args.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.Info ( object  message)
inline

Logs a message.

Parameters
messageThe message.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.Info ( object  message,
Exception  exception 
)
inline

Logs a message.

Parameters
messageThe message.
exceptionThe exception.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.InfoFormat ( string  format,
params object[]  args 
)
inline

Logs a message.

Parameters
formatThe format.
argsThe args.

Implements ExitGames.Logging.ILogger.

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

Logs a message.

Parameters
providerThe provider.
formatThe format.
argsThe args.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.Warn ( object  message)
inline

Logs a message.

Parameters
messageThe message.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.Warn ( object  message,
Exception  exception 
)
inline

Logs a message.

Parameters
messageThe message.
exceptionThe exception.

Implements ExitGames.Logging.ILogger.

void ExitGames.Logging.Log4Net.Log4NetLogger.WarnFormat ( string  format,
params object[]  args 
)
inline

Logs a message.

Parameters
formatThe format.
argsThe args.

Implements ExitGames.Logging.ILogger.

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

Logs a message.

Parameters
providerThe provider.
formatThe format.
argsThe args.

Implements ExitGames.Logging.ILogger.

Property Documentation

bool ExitGames.Logging.Log4Net.Log4NetLogger.IsDebugEnabled
get

Gets a value indicating whether IsDebugEnabled.

bool ExitGames.Logging.Log4Net.Log4NetLogger.IsErrorEnabled
get

Gets a value indicating whether IsErrorEnabled.

bool ExitGames.Logging.Log4Net.Log4NetLogger.IsFatalEnabled
get

Gets a value indicating whether IsFatalEnabled.

bool ExitGames.Logging.Log4Net.Log4NetLogger.IsInfoEnabled
get

Gets a value indicating whether IsInfoEnabled.

bool ExitGames.Logging.Log4Net.Log4NetLogger.IsWarnEnabled
get

Gets a value indicating whether IsWarnEnabled.

string ExitGames.Logging.Log4Net.Log4NetLogger.Name
get

Gets Name.