Function graphannis_capi::logging::annis_init_logging [−][src]
#[no_mangle]
pub unsafe extern "C" fn annis_init_logging(
logfile: *const c_char,
level: LogLevel,
err: *mut *mut ErrorList
)
Expand description
Initialize the logging of this library.
logfile
- The file that is used to output the log messages.level
- Minimum level to output.err
- Pointer to a list of errors. If any error occured, this list will be non-empty.
Safety
This functions dereferences the err
pointer and is therefore unsafe.