Photon Server API Documentation v5.0RC1

Public Member Functions | Properties | List of all members
Photon.Common.Plugins.PluginLogger Class Reference
Inheritance diagram for Photon.Common.Plugins.PluginLogger:
Photon.Hive.Plugin.PluginLogger

Public Member Functions

 PluginLogger (string name, IPluginLogMessagesCounter counter=null)
 
void Debug (object message)
 
void Debug (object message, Exception exception)
 
void DebugFormat (string format, params object[] args)
 
void DebugFormat (IFormatProvider provider, string format, params object[] args)
 
void Error (object message)
 
void Error (object message, Exception exception)
 
void ErrorFormat (string format, params object[] args)
 
void ErrorFormat (IFormatProvider provider, string format, params object[] args)
 
void Fatal (object message)
 
void Fatal (object message, Exception exception)
 
void FatalFormat (string format, params object[] args)
 
void FatalFormat (IFormatProvider provider, string format, params object[] args)
 
void Info (object message)
 
void Info (object message, Exception exception)
 
void InfoFormat (string format, params object[] args)
 
void InfoFormat (IFormatProvider provider, string format, params object[] args)
 
void Warn (object message)
 
void Warn (object message, Exception exception)
 
void WarnFormat (string format, params object[] args)
 
void WarnFormat (IFormatProvider provider, string format, params object[] args)
 

Properties

bool IsDebugEnabled [get]
 
bool IsErrorEnabled [get]
 
bool IsFatalEnabled [get]
 
bool IsInfoEnabled [get]
 
bool IsWarnEnabled [get]
 
string Name [get]
 

Constructor & Destructor Documentation

◆ PluginLogger()

Photon.Common.Plugins.PluginLogger.PluginLogger ( string  name,
IPluginLogMessagesCounter  counter = null 
)
inline

Member Function Documentation

◆ Debug() [1/2]

void Photon.Common.Plugins.PluginLogger.Debug ( object  message)
inline

◆ Debug() [2/2]

void Photon.Common.Plugins.PluginLogger.Debug ( object  message,
Exception  exception 
)
inline

◆ DebugFormat() [1/2]

void Photon.Common.Plugins.PluginLogger.DebugFormat ( IFormatProvider  provider,
string  format,
params object[]  args 
)
inline

◆ DebugFormat() [2/2]

void Photon.Common.Plugins.PluginLogger.DebugFormat ( string  format,
params object[]  args 
)
inline

◆ Error() [1/2]

void Photon.Common.Plugins.PluginLogger.Error ( object  message)
inline

◆ Error() [2/2]

void Photon.Common.Plugins.PluginLogger.Error ( object  message,
Exception  exception 
)
inline

◆ ErrorFormat() [1/2]

void Photon.Common.Plugins.PluginLogger.ErrorFormat ( IFormatProvider  provider,
string  format,
params object[]  args 
)
inline

◆ ErrorFormat() [2/2]

void Photon.Common.Plugins.PluginLogger.ErrorFormat ( string  format,
params object[]  args 
)
inline

◆ Fatal() [1/2]

void Photon.Common.Plugins.PluginLogger.Fatal ( object  message)
inline

◆ Fatal() [2/2]

void Photon.Common.Plugins.PluginLogger.Fatal ( object  message,
Exception  exception 
)
inline

◆ FatalFormat() [1/2]

void Photon.Common.Plugins.PluginLogger.FatalFormat ( IFormatProvider  provider,
string  format,
params object[]  args 
)
inline

◆ FatalFormat() [2/2]

void Photon.Common.Plugins.PluginLogger.FatalFormat ( string  format,
params object[]  args 
)
inline

◆ Info() [1/2]

void Photon.Common.Plugins.PluginLogger.Info ( object  message)
inline

◆ Info() [2/2]

void Photon.Common.Plugins.PluginLogger.Info ( object  message,
Exception  exception 
)
inline

◆ InfoFormat() [1/2]

void Photon.Common.Plugins.PluginLogger.InfoFormat ( IFormatProvider  provider,
string  format,
params object[]  args 
)
inline

◆ InfoFormat() [2/2]

void Photon.Common.Plugins.PluginLogger.InfoFormat ( string  format,
params object[]  args 
)
inline

◆ Warn() [1/2]

void Photon.Common.Plugins.PluginLogger.Warn ( object  message)
inline

◆ Warn() [2/2]

void Photon.Common.Plugins.PluginLogger.Warn ( object  message,
Exception  exception 
)
inline

◆ WarnFormat() [1/2]

void Photon.Common.Plugins.PluginLogger.WarnFormat ( IFormatProvider  provider,
string  format,
params object[]  args 
)
inline

◆ WarnFormat() [2/2]

void Photon.Common.Plugins.PluginLogger.WarnFormat ( string  format,
params object[]  args 
)
inline

Property Documentation

◆ IsDebugEnabled

bool Photon.Common.Plugins.PluginLogger.IsDebugEnabled
get

◆ IsErrorEnabled

bool Photon.Common.Plugins.PluginLogger.IsErrorEnabled
get

◆ IsFatalEnabled

bool Photon.Common.Plugins.PluginLogger.IsFatalEnabled
get

◆ IsInfoEnabled

bool Photon.Common.Plugins.PluginLogger.IsInfoEnabled
get

◆ IsWarnEnabled

bool Photon.Common.Plugins.PluginLogger.IsWarnEnabled
get

◆ Name

string Photon.Common.Plugins.PluginLogger.Name
get