public void Log(LogLevel level, LogMessage[] messages)
        {
            if (LogDate) {
                LogRaw(GetDateMessage());
                LogRaw(new LogMessage(" - "));
            }

            LogRaw(LogMessage.Parse("[", level.GetMessage(), "] "));
            LogRaw(messages);

            Console.WriteLine();
        }
Exemple #2
0
        public void Log(LogLevel level, LogMessage[] messages)
        {
            if (LogDate)
            {
                LogRaw(GetDateMessage());
                LogRaw(new LogMessage(" - "));
            }

            LogRaw(LogMessage.Parse("[", level.GetMessage(), "] "));
            LogRaw(messages);

            Console.WriteLine();
        }