Update CCLogger

This commit is contained in:
Thomas Roehl 2022-01-26 17:09:20 +01:00
parent 5600cf1f5f
commit 0a383a3789

View File

@ -2,12 +2,11 @@ package cclogger
import (
"fmt"
"runtime"
"os"
"log"
"os"
"runtime"
)
var (
globalDebug = false
stdout = os.Stdout
@ -89,7 +88,6 @@ func SetDebug() {
initLogger()
}
func SetOutput(filename string) {
if filename == "stderr" {
if stderr != os.Stderr && stderr != os.Stdout {