mirror of
https://github.com/XTLS/RealiTLScanner.git
synced 2026-09-25 07:38:01 +03:00
fix log stdout
This commit is contained in:
@@ -39,6 +39,10 @@ func main() {
|
||||
slog.SetDefault(slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{
|
||||
Level: slog.LevelDebug,
|
||||
})))
|
||||
} else {
|
||||
slog.SetDefault(slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{
|
||||
Level: slog.LevelInfo,
|
||||
})))
|
||||
}
|
||||
if addr != "" && in != "" ||
|
||||
addr == "" && in == "" {
|
||||
|
||||
Reference in New Issue
Block a user