Enum opencv::core::LogLevel

source ·
#[repr(C)]
pub enum LogLevel {
    LOG_LEVEL_SILENT,
    LOG_LEVEL_FATAL,
    LOG_LEVEL_ERROR,
    LOG_LEVEL_WARNING,
    LOG_LEVEL_INFO,
    LOG_LEVEL_DEBUG,
    LOG_LEVEL_VERBOSE,
    ENUM_LOG_LEVEL_FORCE_INT,
}
Expand description

Supported logging levels and their semantic

Variants

LOG_LEVEL_SILENT

for using in setLogVevel() call

LOG_LEVEL_FATAL

Fatal (critical) error (unrecoverable internal error)

LOG_LEVEL_ERROR

Error message

LOG_LEVEL_WARNING

Warning message

LOG_LEVEL_INFO

Info message

LOG_LEVEL_DEBUG

Debug message. Disabled in the “Release” build.

LOG_LEVEL_VERBOSE

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

ENUM_LOG_LEVEL_FORCE_INT

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.