fix: silence libvips

This commit is contained in:
Sam 2023-05-22 00:36:21 +02:00
parent ed4882b817
commit 4123f957f0
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 3 additions and 0 deletions

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()