mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-08-18 08:22:59 +02:00
Update CCLogger
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user