public static SetupLogging ( Action |
||
logDelegate | Action |
|
logLevel | LogLevel | |
Résultat | void |
public static void SetupLogging(Action<String> logDelegate, LogLevel? logLevel = null)
{
AdjustFactory.Logger.LogDelegate = logDelegate;
if (logLevel.HasValue)
{
AdjustFactory.Logger.LogLevel = logLevel.Value;
}
else
{
AdjustFactory.Logger.LogLevel = LogLevel.Info;
}
}