logging: finish multi implementation

This commit is contained in:
2020-11-11 21:15:02 -08:00
parent 6f19b69bbd
commit 027d0173bc
2 changed files with 42 additions and 0 deletions

View File

@@ -53,3 +53,12 @@ func TestDestroyLogFiles(t *testing.T) {
os.Remove("fw2.log")
os.Remove("fw2.err")
}
func TestMulti(t *testing.T) {
c1 := NewConsole()
c2 := NewConsole()
m := NewMulti(c1, c2)
if !m.Good() {
t.Fatal("failed to set up multi logger")
}
}