soulog-1.0.0 has been yanked.
soulog
A library for polished, clean and colourful console logging and error handling.
Colourful Printing
Some utils for printing to the console in colour.
-
Supported Colours
- None
- Pink
- White
- Blue
- Green
- Cyan
- Red
- Black
- Yellow
-
Usage
use *; // The macro is pretty simple, it's just a list of strings and you have to surround each string with a colour (in lowercase) // If you don't want a colour, then use `none` for the default colour of the console. let colourful_text = colour_format!; println!; // Prints the colourful text to screen
Loggers
- A struct that determines what to do with logs and errors, and how to handle them.
- The default logger for smaller applications is
soulog::sbl::PanicLoggerwhich panics on errors
Logging
For when you want to log an event or just to give an update to the user through the console
use *;