NcLogLevel_i32

Type Alias NcLogLevel_i32 

Source
pub type NcLogLevel_i32 = ncloglevel_e;
Expand description

Log level for NcOptions.

It’s recommended to use NcLogLevel instead.

§Associated c_api constants

These log levels consciously map cleanly to those of libav; notcurses itself does not use this full granularity. The log level does not affect the opening and closing banners, which can be disabled via the NcOptions NCOPTION_SUPPRESS_BANNERS.

Note that if stderr is connected to the same terminal on which we’re rendering, any kind of logging will disrupt the output.

Trait Implementations§

Source§

impl From<NcLogLevel> for NcLogLevel_i32

Source§

fn from(loglevel: NcLogLevel) -> Self

Converts to this type from the input type.