Photon Server API Documentation v5.0RC1

Static Public Member Functions | List of all members
ExitGames.Logging.LoggerExtensions Class Reference

Static Public Member Functions

static void ConditionalDebug (this ILogger logger, object message)
 Writes a message to the log at the Debug level. Only executed when the DEBUG conditional compilation symbol is set. More...
 
static void ConditionalDebug (this ILogger logger, string format, params object[] args)
 Writes a message to the log at the Debug level. Only executed when the DEBUG conditional compilation symbol is set. More...
 
static void ConditionalDebug (this ILogger logger, IFormatProvider formatProvider, string format, params object[] args)
 Writes a message to the log at the Debug level. Only executed when the DEBUG conditional compilation symbol is set. More...
 

Member Function Documentation

◆ ConditionalDebug() [1/3]

static void ExitGames.Logging.LoggerExtensions.ConditionalDebug ( this ILogger  logger,
IFormatProvider  formatProvider,
string  format,
params object[]  args 
)
inlinestatic

Writes a message to the log at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.

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

◆ ConditionalDebug() [2/3]

static void ExitGames.Logging.LoggerExtensions.ConditionalDebug ( this ILogger  logger,
object  message 
)
inlinestatic

Writes a message to the log at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.

Parameters
loggerThe logger.
messageThe message to log.

◆ ConditionalDebug() [3/3]

static void ExitGames.Logging.LoggerExtensions.ConditionalDebug ( this ILogger  logger,
string  format,
params object[]  args 
)
inlinestatic

Writes a message to the log at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.

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