Suppress verbose vips logging output

Initialize libvips with LogLevelError to prevent info-level messages
from polluting the JSON log stream.
This commit is contained in:
2026-01-08 16:13:52 -08:00
parent 3849128c45
commit 982accd549
2 changed files with 14 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ import (
)
func TestMain(m *testing.M) {
vips.Startup(nil)
initVips()
code := m.Run()
vips.Shutdown()
os.Exit(code)