bt_logger

Crates.iobt_logger
lib.rsbt_logger
version0.1.0
sourcesrc
created_at2024-11-16 17:46:56.248598
updated_at2024-11-16 17:46:56.248598
descriptionA simple and lightweight Rust log library with support for log level
homepagehttps://github.com/bachuetech/bt_logger
repositoryhttps://github.com/bachuetech/bt_logger.git
max_upload_size
id1450529
size22,161
(bachuetech)

documentation

README

Project Title

BT Logger

Description

A simple and lightweight logger for Rust with various features such as logging to different output destinations (stdout, stderr), formatting log messages, and level checking.

Usage

To use the bt_logger module, you would create a logger instance with the desired configuration and then use the macros to log messages at different levels. For example:

build_logger("BACHUETECH", "My Application", LogLevel::INFO, LogTarget::StdOut);
 .......
log_info!("function_name","Hello, {}", "Bachuetech User");

Version History

  • 0.1.0
    • Initial Release

License

GPL-3.0-only

Commit count: 6

cargo fmt