mirror of
https://github.com/XTLS/RealiTLScanner.git
synced 2026-10-11 16:58:11 +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{
|
slog.SetDefault(slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{
|
||||||
Level: slog.LevelDebug,
|
Level: slog.LevelDebug,
|
||||||
})))
|
})))
|
||||||
|
} else {
|
||||||
|
slog.SetDefault(slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{
|
||||||
|
Level: slog.LevelInfo,
|
||||||
|
})))
|
||||||
}
|
}
|
||||||
if addr != "" && in != "" ||
|
if addr != "" && in != "" ||
|
||||||
addr == "" && in == "" {
|
addr == "" && in == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user