[][src]Function leg::custom

pub fn custom(
    tag: &ColoredString,
    message: &str,
    scope: Option<&str>,
    ln: Option<bool>
)

Create a custom logger.

  • tag - String to use as prefix (after scope).
  • message - String to print.
  • scope - Preffix to append.
  • ln - Use eprintln instead eprint (default: true).