mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 07:35:07 +00:00
add packages
This commit is contained in:
3
vendor/github.com/fatedier/beego/logs/console.go
generated
vendored
3
vendor/github.com/fatedier/beego/logs/console.go
generated
vendored
@@ -42,6 +42,7 @@ var colors = []brush{
|
||||
newBrush("1;32"), // Notice green
|
||||
newBrush("1;34"), // Informational blue
|
||||
newBrush("1;34"), // Debug blue
|
||||
newBrush("1;34"), // Trace blue
|
||||
}
|
||||
|
||||
// consoleWriter implements LoggerInterface and writes messages to terminal.
|
||||
@@ -55,7 +56,7 @@ type consoleWriter struct {
|
||||
func NewConsole() Logger {
|
||||
cw := &consoleWriter{
|
||||
lg: newLogWriter(os.Stdout),
|
||||
Level: LevelDebug,
|
||||
Level: LevelTrace,
|
||||
Colorful: runtime.GOOS != "windows",
|
||||
}
|
||||
return cw
|
||||
|
Reference in New Issue
Block a user