Crate aul

source ·
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

Macros

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