12 lines
468 B
Markdown
12 lines
468 B
Markdown
# Simple Logger
|
|
|
|
A lightweight logging utility for Rust with both printing and string formatting capabilities.
|
|
|
|
## Features
|
|
|
|
- **Two macros**: `log!` for immediate printing, `msg!` for string formatting
|
|
- **Color support**: ANSI color codes for terminal output
|
|
- **Multiple log levels**: INFO, DEBUG, WARNING, ERROR, FATAL
|
|
- **No external dependencies**: Uses only standard library
|
|
- **File/line info**: DEBUG, WARNING, ERROR, and FATAL levels include source location
|