1 unstable release
0.1.0 | Feb 21, 2024 |
---|
#58 in #colors
3KB
toolbx
Toolbx is a comprehensive utility library that serves as a vital resource for our projects. It houses a multitude of utilities, each designed to perform specific tasks, thereby enhancing the efficiency and productivity of our development process.
Available tools
logger
toolbx.logger("text":string, log_level:number)
Print logs in console with clear styles and colors.
log levels
Code | Level | Color | Prefix |
---|---|---|---|
0 | info | white | 0.0 |
1 | success | green | o.0√ |
2 | warn | magenta | 0.o/ |
3 | critical | red | x.X |
4 | debug | yellow | ?.? |
5 | empty(reserved) | white | x(nothing) |
example
toolbx::logger("hi", 0);
returns
0.0 hi