mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Adds the --silent-warning options to the obitools commands and removes the --pared-with option from some of the obitols commands.
This commit is contained in:
12
pkg/obilog/warning.go
Normal file
12
pkg/obilog/warning.go
Normal file
@ -0,0 +1,12 @@
|
||||
package obilog
|
||||
|
||||
import (
|
||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obidefault"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
func Warnf(format string, args ...interface{}) {
|
||||
if !obidefault.SilentWarning() {
|
||||
logrus.Warnf(format, args...)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user