AdjustSdk.Pcl.LogConfig.SetupLogging C# (CSharp) Method

SetupLogging() public static method

public static SetupLogging ( Action logDelegate, LogLevel logLevel = null ) : void
logDelegate Action
logLevel LogLevel
return 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;
            }
        }
LogConfig