| Crates.io | toolbx |
| lib.rs | toolbx |
| version | 0.1.0 |
| created_at | 2024-02-21 07:11:04.155555+00 |
| updated_at | 2024-02-21 07:11:04.155555+00 |
| description | Utils package for the development of SecureAccess series products |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1147662 |
| size | 2,166 |
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.
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