simplelog
A deadly simply log package supporting very simple colorful logging.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-24 13:03 |
Tags
Installation
nimble install simplelog
choosenim install simplelog
git clone https://github.com/sslime336/simplelog
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| simplelog | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/sslime336/simplelog |
|---|---|
| Homepage | https://github.com/sslime336/simplelog |
| Registry Source | nimble_official |
README
simplelog
A deadly simple log package.
Perform differently in different build modes:
when not defined(release) and not defined(js):

when defined(release): (without filename and number of line)

Choose your own timer:
# demo.nim
import std / times
import simplelog
simplelog.timer =
proc(): string =
$now().utc
when isMainModule:
debug("different timer")
nim c -r demo.nim
output:
2023-06-02T08:02:33Z [DEBUG] E:\projects\simplelog\demo.nim:12 different timer
todo:
- [ ] Log level
- [ ] ...whatever(lazy I am)