Commit graph

11 commits

Author SHA1 Message Date
Tiara Rodney
3422cfb799
test(formatter): add tests for formatting, formatTime, formatError
Cover %-style substitution with %(name)s, %(levelno)d, %(levelname)s,
multiple placeholders, unknown field errors, asctime population,
ISO8601 and custom datefmt time formatting, Error.stack formatting,
usesTime detection, and LogRecord.getMessage with %s arg substitution.
2026-03-13 23:22:10 +01:00
Tiara Rodney
d95c8d37da
test(logger): add tests for info, warning, error, and critical methods 2026-03-13 22:56:01 +01:00
Tiara Rodney
3b6b116b00
test: add unit tests for handler, logger, manager, and config
Cover Handler property accessors, format delegation, emit contract,
and close lifecycle. Cover Logger level methods, isEnabledFor caching,
manager property assignment, handler management, debug invocation,
and makeRecord extra key collision. Cover Manager getLogger hierarchy
setup, placeholder fixup, disable level, and loggerClass validation.
Cover basicConfig option handling, force flag, mutual exclusion of
stream/filename/handlers, and formatter assignment.
2026-03-13 22:49:12 +01:00
Tiara Rodney
25ec89c3b4
fix: correct jest roots and test import path 2026-03-13 22:38:41 +01:00
Rodney, Tiara
31f2d6e6f9
chore: move existing tests to sub-directory
introducing sub-directories for each type of tests, so that they're easier to
seperate.
2025-05-01 22:50:34 +02:00
Rodney, Tiara
b50586db8f
test(log_level): refactor 2025-05-01 22:50:34 +02:00
Rodney, Tiara
f069a0f2e4
refactor(src): introduce submodules 2025-05-01 22:50:33 +02:00
Rodney, Tiara
c4a98da88e
chore: make tests work 2025-04-25 19:19:40 +02:00
Rodney, Tiara
7a70ed28c3
feat: initialize tests, docs and refactor 2025-04-25 16:17:46 +02:00
Rodney, Tiara
c297e3f4ef
feat(init): publishing 2025-04-25 16:17:37 +02:00
Rodney, Tiara
d27f6c65c1
init: working state
compiler + test suite are fine. logging module started, I'd say about 50%
complete.
2025-04-25 16:12:52 +02:00