Esempio n. 1
0
        public static string ToLowercaseString(this AdTraceLogLevel AdTraceLogLevel)
        {
            switch (AdTraceLogLevel)
            {
            case AdTraceLogLevel.Verbose:
                return("verbose");

            case AdTraceLogLevel.Debug:
                return("debug");

            case AdTraceLogLevel.Info:
                return("info");

            case AdTraceLogLevel.Warn:
                return("warn");

            case AdTraceLogLevel.Error:
                return("error");

            case AdTraceLogLevel.Assert:
                return("assert");

            case AdTraceLogLevel.Suppress:
                return("suppress");

            default:
                return("unknown");
            }
        }
Esempio n. 2
0
        public static string ToUppercaseString(this AdTraceLogLevel AdTraceLogLevel)
        {
            switch (AdTraceLogLevel)
            {
            case AdTraceLogLevel.Verbose:
                return("VERBOSE");

            case AdTraceLogLevel.Debug:
                return("DEBUG");

            case AdTraceLogLevel.Info:
                return("INFO");

            case AdTraceLogLevel.Warn:
                return("WARN");

            case AdTraceLogLevel.Error:
                return("ERROR");

            case AdTraceLogLevel.Assert:
                return("ASSERT");

            case AdTraceLogLevel.Suppress:
                return("SUPPRESS");

            default:
                return("UNKNOWN");
            }
        }
Esempio n. 3
0
 public void setLogLevel(AdTraceLogLevel logLevel)
 {
     this.logLevel = logLevel;
 }