Avalon.Utility.Debugging.Logger.Log C# (CSharp) Method

Log() public static method

public static Log ( LogLevel level, string module, string format ) : void
level LogLevel
module string
format string
return void
        public static void Log(LogLevel level, string module, string format, params object[] arguments)
        {
            //if (level <= Core.ServerConfig.Log.Level)
            //{
                string timestamp = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss");
                string header = string.Format("{0} | {1,-7} | {2,-15} | ", timestamp, level, module);
                lock (LogWriter) LogWriter.WriteLine(header + format, arguments);
            //}
        }
Logger