refactor: initial default logger

This commit is contained in:
moonD4rk
2023-03-10 15:58:10 +08:00
parent 1214bf8342
commit cc4edc5cb6
2 changed files with 10 additions and 12 deletions
+1 -4
View File
@@ -40,11 +40,8 @@ func Execute() {
HideHelpCommand: true,
Action: func(c *cli.Context) error {
if verbose {
log.Init("debug")
} else {
log.Init("notice")
log.SetVerbose()
}
browsers, err := browser.PickBrowsers(browserName, profilePath)
if err != nil {
log.Error(err)