private void log(string log, NetcodeLogLevel logLevel, params object[] args)
        {
            if (logLevel > this.LogLevel)
            {
                return;
            }

            Console.WriteLine(string.Format(log, args));
        }
Exemple #2
0
        private void log(string log, NetcodeLogLevel logLevel, params object[] args)
        {
            if (logLevel > this.LogLevel)
            {
                return;
            }

            System.Diagnostics.Trace.WriteLine(string.Format(log, args));
        }
        private void log(string log, NetcodeLogLevel logLevel)
        {
            if (logLevel > this.LogLevel)
            {
                return;
            }

            Console.WriteLine(log);
        }
Exemple #4
0
        private void log(string log, NetcodeLogLevel logLevel)
        {
            if (logLevel > this.LogLevel)
            {
                return;
            }

            System.Diagnostics.Trace.WriteLine(log);
        }
Exemple #5
0
 public static void SetLogLevel(NetcodeLogLevel logLevel)
 {
     netcodeNATIVE.netcode_log_level((int)logLevel);
 }