fix: silence libvips
This commit is contained in:
parent
ed4882b817
commit
4123f957f0
|
@ -23,6 +23,9 @@ var Command = &cli.Command{
|
||||||
}
|
}
|
||||||
|
|
||||||
func run(c *cli.Context) error {
|
func run(c *cli.Context) error {
|
||||||
|
// set vips log level to WARN, else it will spam logs on info level
|
||||||
|
vips.LoggingSettings(nil, vips.LogLevelWarning)
|
||||||
|
|
||||||
vips.Startup(nil)
|
vips.Startup(nil)
|
||||||
defer vips.Shutdown()
|
defer vips.Shutdown()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue