public void Write(String log, LogLevel level, bool tag = false) { if (Level > level || level == LogLevel.MuteLog) { return; } lock (instance) { WriteTime(level, tag); _output.Write("\t\t" + log, level); } }
private void WriteTime(LogLevel level) { _output.Write(DateTime.Now + " ", level); }