Commit graph

5 commits

Author SHA1 Message Date
Tiara Rodney
50df6b4c37
feat(logger): add info, warning, error, and critical methods 2026-03-13 22:55:17 +01:00
Tiara Rodney
e76d8fb77b
fix(logger): fix isEnabledFor, _log, makeRecord, and manager property
Fix isEnabledFor() to correctly cache and return level check results
instead of always caching false. Fix _log() to call handle() after
creating the LogRecord. Fix makeRecord() to use Object.keys() and
template literal. Add manager getter and fix setter to actually
assign the value.
2026-03-13 22:40:46 +01:00
Rodney, Tiara
f069a0f2e4
refactor(src): introduce submodules 2025-05-01 22:50:33 +02:00
Rodney, Tiara
5baeb0f441
chore: remove redundant sources
Well this started a little messy and I didn't really stick to atomicity. This
was the first script I've written, which was later transferred to the index.
It's the same code just with less structure and some funcitionality missing...
2025-04-25 18:47:49 +02:00
Rodney, Tiara
f07020875d
refactor: change module layout
as I've migrated from the idea of having a single mono-repo for all things ESM,
this repo will be solely for logging
2025-04-25 17:59:50 +02:00
Renamed from src/logging/logger.ts (Browse further)