func log(level: CRLogLevel , module_path : String, message: String)
In order, these three are ERROR/WARN/etc, then a citeproc_proc::db::… path of where the log was generated, and a message.
log
crate.Framework
protocol CRLog
The simplest non-trivial implementation would be to simply print(level, module
.
func log(level: CRLogLevel , module_path : String, message: String)
struct CRLogger
class CROSLogger
typealias CRLogLevel
.error = 1, .warn, .info, .debug, .trace
: Log severity levels from the Rust log
crate.typealias CRLevelFilter
.off, .error, .warn, .info, .debug, .trace
: Log level filters from the Rust log
crate. .off
means “no logs should be logged”; .warn
means “errors and warnings should be logged”.