Crate xvc_logging
source ·Expand description
Xvc logging and output crate to be used in output channels.
Xvc uses to discriminate outputs of various types, (Info, Debug, Error…) and can use
crossbeam_channel to send these separately.
Downstream crates (xvc, xvc-file, etc.) use this crate not to use stdout, stderr directly.
Macros
Debugging macro to print the given expression and its value, with the module, function and line number
Enums
Different channels of outputs Xvc can print
Functions
Init logging if it’s not initialized before.
Uses Once to run (non-public fn)
init_logging once.