mahseiah_ai
b7e78bbb9d
build: add test and test:coverage scripts to package.json
...
- bun test v1.3.12 (700fc117) runs bun test (discovers tests in test/ directory)
- bun test v1.3.12 (700fc117) runs tests with coverage reporting
2026-05-05 14:59:24 -04:00
jdb
895a8c42ca
ConsoleLogAppender logs TRACE messages with console.log
...
console.trace generates and prints a full stacktrace for every log
message. This is not what TRACE means in this library. The TRACE level
is intended for logs that are more verbose than you typically want to
log and should only be turned on when you are trying to trace the
detailed behavior of the logged functionality. Printing the full stack
trace with every message makes an already verbose setting exponentially
worse.
2026-01-09 19:23:38 -06:00
jdb
eb89d1da71
Tweak: don't overshadow msg in inner context.
2026-01-09 18:46:30 -06:00
jdb
79b9fe20ac
Correct ConsoleLogAppender to use msg instead of message.
2025-12-16 13:20:36 -06:00
jdb
47fa404914
Make ERROR and FATAL levels use the console.error function when logging to a JS console.
2025-12-15 12:26:49 -06:00
jdb
f33ca24b53
timestamp -> ts; error -> err
2025-07-14 15:38:40 -05:00
jdb
ef2b0ed750
Change the naming convention for LogMessage internal message field.
2025-06-26 10:44:57 -05:00
jdb
13941840ce
Move back to npm (bun does not package correctly).
2025-01-02 22:53:10 -06:00
jdb
c3e2152afb
Refactor to default to structured logging.
...
- Added `flattenMessage` and `FlattenedLogMessage` to default to
structured logging.
- Rework the logic formatting messages for the ConsoleLogger.
- Add a more comprehensive README.
2025-01-02 22:50:10 -06:00
jdb
4a9f582ad8
Migrate to bun and eslint.
2025-01-02 17:01:39 -06:00
jdb
8418b242c3
Replace Axios with fetch API.
2023-05-29 19:20:12 -05:00
jdb
f0944d0d7e
Update Axios for security fixes.
2023-05-29 19:03:55 -05:00
jdb
f75edbc22a
Fix NPM packaging.
2021-08-16 23:03:57 -05:00
jdb
b2d1b71a52
Remove erroneously committed test code.
2021-07-23 00:15:32 -05:00
jdb
c8ed8b61da
Bump version to republish with built artifacts.
2021-07-23 00:12:23 -05:00
jdb
6562948acb
Add convenience method for parsing LogLevel values form string.
2021-07-23 00:00:41 -05:00
jdb
e42549773d
Rename package to avoid conflict with existing modules.
2020-08-07 09:19:03 -05:00
jdb
73e8b0726c
Fix package.json module definition.
2020-08-07 09:07:16 -05:00
jdb
1a96000e81
Initial 1.0.0 commit (library extracted from existing project).
2020-08-07 08:54:06 -05:00