Expand description
Another useless Logger
This crate can be used for logging to stdout
and censoring private information using Sens
Usage
This library provides multiple macros for example log!
use aul::level::Level;
use aul::log;
let a = 1;
let b = 2;
log!(Level::TRACE,"Calling method add with params {} and {}",a,b);
let c = add(a,b);
log!(Level::TRACE,"Called method add");
log!(Level::INFO,"Result: {}",c);
fn add(a : i32, b : i32)-> i32 { a + b }
Modules
- Error Module for ParseLogLevelError
- Module for different logging Levels
- Module for all the Macros
- Module for Sensitive wrapping with the Sens struct
Macros
- macro for logging with Level
DEBUG
- macro for logging with Level
ERROR
- macro for logging with Level
INFO
- macro for logging with a specific
Level
- macro for logging sensitive data with a specific
Level
- macro for logging with Level
TRACE
- macro for logging with Level
WARN
Functions
- Warning used by the macro to log. Not intended for personal usage
- Warning used by the macro to log. Not intended for personal usage