fix: silence libvips

This commit is contained in:
Sam 2023-05-22 00:36:21 +02:00
parent ed4882b817
commit 4123f957f0
Signed by: sam
GPG key ID: B4EF20DDE721CAA1

View file

@ -23,6 +23,9 @@ var Command = &cli.Command{
}
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)
defer vips.Shutdown()