mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-21 05:24:43 -04:00
use Stderr instead of Stdout for logging
This commit is contained in:
parent
d4b4992731
commit
0b75b429c3
32 changed files with 34 additions and 34 deletions
|
@ -39,7 +39,7 @@ func runFix(cmd *cobra.Command, _ []string) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log := slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: flags.logLevel}))
|
||||
log := slog.New(slog.NewTextHandler(os.Stderr, &slog.HandlerOptions{Level: flags.logLevel}))
|
||||
log.Debug(fmt.Sprintf("Parsed flags: %+v", flags))
|
||||
|
||||
fileHelper, err := bazelfiles.New()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue