Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

18 lines
442 B
Plaintext

##! Interface for the None log writer. This writer is mainly for debugging.
module LogNone;
export {
## If true, output debugging output that can be useful for unit
## testing the logging framework.
const debug = F &redef;
}
function default_rotation_postprocessor_func(info: Log::RotationInfo) : bool
{
return T;
}
redef Log::default_rotation_postprocessors += { [Log::WRITER_NONE] = default_rotation_postprocessor_func };