public void WriteToSpecial() { var myappender = new TestAppender { Level = LogLevel.Debug }; Loggy.Get("named", s => { s.Isolated = true; s.Level = LogLevel.Info; s.Appenders.Add(myappender); }); Loggy.Get("named").Info("test"); appender.MustNotCatch(LogLevel.Info, "test", "named"); myappender.MustCatch(LogLevel.Info, "test", "named"); }
public void WriteToDefault() { Loggy.Info("test"); appender.MustCatch(LogLevel.Info, "test", "default"); }