[−][src]Crate loggy
An opinionated library for developing and testing rust applications that use logging.
Macros
is_an_error | Provide program-wide control over whether some note(s) are considered to be an error. |
note | Generate either an error or a warning, depending on some configuration parameter. |
test_loggy | Create a test case using |
todox | Generate a debug log message. |
Structs
ErrorsScope | Track the number of errors in the scope of the lifetime of the instance of this class. |
Loggy | Control the behavior of the |
Functions
assert_log | Assert that the collected log messages are as expected. |
clear_log | Clear the log buffer following the comparison. |
errors | Return the total number of calls to |
had_errors | Return whether there were any calls to |