Skip to content

How to disable DEBUG and INFO #41

@memark

Description

@memark

This tool works nicely!

But there is a lot of noise in the output:

2021/11/29 08:45:26 gowatch.go:113: [INFO] Start building...
2021/11/29 08:45:26 gowatch.go:150: [INFO] Build Args: go build -o ./00
2021/11/29 08:45:26 gowatch.go:158: [INFO] Build was successful
2021/11/29 08:45:26 gowatch.go:193: [DEBUG] main pid: 6059
2021/11/29 08:45:26 gowatch.go:194: [DEBUG] pids: []
2021/11/29 08:45:26 gowatch.go:205: [DEBUG] killing MAIN process pid: 6059
❯ gowatch -v
1.5

Is there a config setting to disable the printing of DEBUG and INFO lines?
I find they take too much focus from the output from my actual program. (ERROR lines are still useful.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions