IPLLogFunction

Type Alias IPLLogFunction 

Source
pub type IPLLogFunction = Option<unsafe extern "C" fn(level: IPLLogLevel, message: *const c_char)>;
Expand description

Prototype of a callback that logs a message generated by Steam Audio. This may be implemented in any suitable way, such as appending to a log file, displaying a dialog box, etc. The default behavior is to print to \c stdout.

\param level The severity level of the message. \param message The message to log.

Aliased Type§

pub enum IPLLogFunction {
    None,
    Some(unsafe extern "C" fn(IPLLogLevel, *const i8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(IPLLogLevel, *const i8))

Some value of type T.