mirror of
https://github.com/Luzifer/ots.git
synced 2025-07-20 21:28:49 -04:00
This commit is contained in:
parent
eb2bce3119
commit
dc47bf0861
4 changed files with 20 additions and 2 deletions
|
@ -3,6 +3,7 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/Luzifer/ots/pkg/client"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -28,5 +29,7 @@ func rootPersistentPreRunE(cmd *cobra.Command, _ []string) error {
|
|||
}
|
||||
logrus.SetLevel(ll)
|
||||
|
||||
client.Logger = logrus.NewEntry(logrus.StandardLogger())
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue