Skip to content

utils_logging_LogLevel

Core and matricesclassOpenCV 5.0.0
import { utils_logging_LogLevel } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSutils_logging_LogLevel
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Supported logging levels and their semantic

Constructors and members

static LOG_LEVEL_SILENT

for using in setLogVevel() call

LOG_LEVEL_SILENT: utils_logging_LogLevelValue<0>,

static LOG_LEVEL_FATAL

Fatal (critical) error (unrecoverable internal error)

LOG_LEVEL_FATAL: utils_logging_LogLevelValue<1>,

static LOG_LEVEL_ERROR

utils_logging_LogLevel.LOG_LEVEL_ERROR: Error message

LOG_LEVEL_ERROR: utils_logging_LogLevelValue<2>,

static LOG_LEVEL_WARNING

Warning message

LOG_LEVEL_WARNING: utils_logging_LogLevelValue<3>,

static LOG_LEVEL_INFO

utils_logging_LogLevel.LOG_LEVEL_INFO: Info message

LOG_LEVEL_INFO: utils_logging_LogLevelValue<4>,

static LOG_LEVEL_DEBUG

Debug message. Disabled in the "Release" build.

LOG_LEVEL_DEBUG: utils_logging_LogLevelValue<5>,

static LOG_LEVEL_VERBOSE

Verbose (trace) messages. Requires verbosity level. Disabled in the "Release" build.

LOG_LEVEL_VERBOSE: utils_logging_LogLevelValue<6>,

static ENUM_LOG_LEVEL_FORCE_INT

enum log level force int constant (INT_MAX), defined by OpenCV for cv::utils::logging.

ENUM_LOG_LEVEL_FORCE_INT: utils_logging_LogLevelValue<2147483647>

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.