Skip to content

utils_logging_setLogLevel

Core and matricesfunctionOpenCV 5.0.0
import { utils_logging_setLogLevel } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSlogLevel
FUNCTIONutils_logging_setLogLevel
RETURN TYPEnumber
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Set global logging level

utils_logging_setLogLevel(logLevel: number): number;
logLevel

log level argument (number).

Returns

previous logging level

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.