Crate loggy

source ·
Expand description

An opinionated library for developing and testing rust applications that use logging.

Macros

Provide program-wide control over whether some note(s) are considered to be an error.
Generate either an error or a warning, depending on some configuration parameter.
Create a test case using loggy.
Generate a debug log message.

Structs

Track the number of errors in the scope of the lifetime of the instance of this class.
Control the behavior of the loggy logger.

Functions

Assert that the collected log messages are as expected.
Clear the log buffer following the comparison.
Return the total number of calls to error! in the whole program.
Return whether there were any calls to error! in the whole program.
Initialize the global logger with loggy.