Tristan B. Velloza Kildaire
dac231866e
BasicLogger
...
- Documented
2024-04-10 13:52:37 +02:00
Tristan B. Velloza Kildaire
1d57ab1529
ConsoleLogger
...
- Removed
2024-04-09 19:31:52 +02:00
Tristan B. Velloza Kildaire
b29e2eb1c7
LevelFilter
...
- Now returns a `true` verdict if the incoming `Message` is NOT a kind-of `BasicMessage`
2024-04-09 19:31:22 +02:00
Tristan B. Velloza Kildaire
6be4be3534
Basics
...
- More docs
2024-04-09 19:30:56 +02:00
Tristan B. Velloza Kildaire
49f1f70f28
Basics
...
- Added some missing docs
2024-04-09 19:27:15 +02:00
Tristan B. Velloza Kildaire
8bb28de027
DefaultLogger
...
- Now is a kind-of `BasicLogger` (gives us log-level support
Defaults (unittests)
- Updated
2024-04-09 19:14:18 +02:00
Tristan B. Velloza Kildaire
9d8f7af4a3
Core
...
- Last few docs added
2024-04-09 19:04:31 +02:00
Tristan B. Velloza Kildaire
66adb8f700
Core
...
- Added more docs
2024-04-09 18:59:25 +02:00
Tristan B. Velloza Kildaire
c53558f847
Refactored
...
- Cleaned up
2024-04-09 18:56:33 +02:00
Tristan B. Velloza Kildaire
e935014573
Defaults
...
- Cleaned up
2024-04-09 18:53:32 +02:00
Tristan B. Velloza Kildaire
59ddf53efa
Major refactor
...
- A lot of clean up
2024-04-09 17:26:55 +02:00
Tristan B. Velloza Kildaire
2f8b61fcf2
BasicMessage
...
- Added `setLevel(Level)`
FileHandler
- Only use `write(File, string)`, not `writeln(File, string)`
2024-04-09 14:28:33 +02:00
Tristan B. Velloza Kildaire
23d2b2ada9
Core
...
- Removed old code
2024-04-09 13:52:32 +02:00
Tristan B. Velloza Kildaire
6e48960022
BasicMessage
...
- Added `setText(string)`
2024-04-09 12:09:30 +02:00
Tristan B. Velloza Kildaire
fbada61e90
BasicLogger
...
- Added `getLevel()`
2024-04-09 08:47:43 +02:00
Tristan B. Velloza Kildaire
5447f6dfbd
ConsoleLogger
...
- Added new logger
2024-04-09 08:46:29 +02:00
Tristan B. Velloza Kildaire
39c2fe78fd
BasicLogger
...
- Now stores current level in a filter of its own
- The `LevelFilter` is attached to the `BasicLogger` on construction
LevelFilter
- Now use a `Level*` rather
2024-04-09 08:44:30 +02:00
Tristan B. Velloza Kildaire
2658ed20b5
BasicMessage
...
- Now supports a `Level` setting
Level
- Added new enum type
LevelFilter
- Added implementation for level filtering
2024-04-09 08:41:08 +02:00
Tristan B. Velloza Kildaire
b13621fd82
Logger
...
- You can now add and remove filters and handlers
2024-04-09 08:34:55 +02:00
Tristan B. Velloza Kildaire
f6ebb070cc
Logger
...
- Implemented `log(Message message)` which does filtering, transformation and lastly handling
2024-04-09 08:32:49 +02:00
Tristan B. Velloza Kildaire
e35f6fba73
Core
...
- Added methods for manipulating transforms
2024-04-09 08:29:36 +02:00
Tristan B. Velloza Kildaire
b6d002e711
Basic
...
- Setting out use cases
2024-04-09 08:24:34 +02:00
Tristan B. Velloza Kildaire
d07cab3560
Core
...
- Setting out new API
2024-04-09 08:24:21 +02:00
Tristan B. Velloza Kildaire
d1659bb6b9
Utilities
...
- Added docs
2023-03-03 15:30:43 +02:00
Tristan B. Velloza Kildaire
cbeb844af5
Context
...
- Documented each enum member for the `Level` enum
- Documented all public members of `CompilationInfo`
2023-03-03 15:29:28 +02:00
Tristan B. Velloza Kildaire
f54ec9f87b
Defaults
...
- Updated documentation
2023-03-03 15:26:33 +02:00
Tristan B. Velloza Kildaire
0362ae7694
Core
...
- Updated documentation
2023-03-03 15:24:10 +02:00
Tristan B. Velloza Kildaire
991a9e4531
Core
...
- Updated documentation
2023-03-03 15:23:12 +02:00
Tristan B. Velloza Kildaire
cd99b7af99
Defaults
...
- Updated documentation
2023-03-03 15:21:41 +02:00
Tristan B. Velloza Kildaire
9b79e6f154
Core
...
- Updated documentation
Context
- Updated documentation
Transform
- Updated documentation
2023-03-03 15:21:16 +02:00
Tristan B. Velloza Kildaire
c7cb58c1db
Package
...
- Updated module documentation for `dlog` package module
- Added documentation for `dlog.core`, `dlog.transform`, `dlog.context` and `dlog.defaults` public module imports
2023-03-03 15:15:22 +02:00
Tristan B. Velloza Kildaire
aaa786c86d
Logger
...
- Fixed error where `multiArgJoiner` is `private` and not `protected` (meaning inherited loggers would not be able to access it)
2023-03-02 11:39:20 +02:00
Tristan B. Velloza Kildaire
23f155174e
Logger
...
- Don't make `debug_`, `warn`, `info` or `error` final
2023-03-02 11:33:25 +02:00
Tristan B. Velloza Kildaire
484b9f949b
Context
...
- Added documentation headers for `CompilationInfo`
2023-03-02 11:26:41 +02:00
Tristan B. Velloza Kildaire
77448e3245
Logger
...
- Allow calling `debug_(TextType...)(TextType)` using `dbg`
2023-03-02 11:12:35 +02:00
Tristan B. Velloza Kildaire
d58c4076ed
Logger
...
- Implemented `info(TextType...)(TextType)`
- Implemented `debug_(TextType...)(TextType)`
- Implemented `warn(TextType...)(TextType)`
2023-03-02 11:11:57 +02:00
Tristan B. Velloza Kildaire
20dc3c0058
Context
...
- Implemented `setLevel(Level)` and `getLevel()`
2023-03-02 11:09:45 +02:00
Tristan B. Velloza Kildaire
70dc9c0449
Logger
...
- Added missing header comment for the consructor for `Logger`
- Implemented `error(TextType...)(TextType)`
2023-03-02 11:09:28 +02:00
Tristan B. Velloza Kildaire
16459b2e4d
Logger
...
- Removed aliases `logc` and `log`
- Renamed `log3Ctx` to `logc`
- Renamed `log3` to `log`
2023-03-02 10:58:42 +02:00
Tristan B. Velloza Kildaire
6a11312763
Utilities
...
- Added missing import of the `to` template from `std.conv`
2023-03-02 10:56:50 +02:00
Tristan B. Velloza Kildaire
3b9562bd07
Package
...
- Removed public import of `dlog.utilities`
2023-03-02 10:56:16 +02:00
Tristan B. Velloza Kildaire
7e10495862
Utilities
...
- Moved `flatten()` to the `dlog.utilities` module
Package
- Updated package to import `dlog.utilities`
Core
- Import `flatten` from `dlog.utilities`
2023-03-02 10:55:55 +02:00
Tristan B. Velloza Kildaire
28c546ff16
Logger
...
- Fixed misunderstanding that caused a bug in `log3(TextType...)(TextType)`
- Moved unit test embedded in the `Logger` class outside into the module-level
- Implemented `args(TextType...)(TextType)` for flattening an `AliasSeq`
- Removed spurious `writeln` calls within some unit tests
2023-03-02 10:53:08 +02:00
Tristan B. Velloza Kildaire
528654e428
Logger
...
- Added a statci method `flatten(...)` which lets you flatten an arbitrary sequance of actual argumnets (an AliasSeq) into a `string[]`
- Removed old commented-out code
- Updated documentation for methods
- Ensure thge aliases `log` and `logc` are public
Context
- Added `Level` enum with members `INFO`, `WARN`, `ERROR` and `DEBUG`
- Added a field `level` to `Context`
2023-03-02 10:40:32 +02:00
Tristan B. Velloza Kildaire
623126a830
Package
...
- Added missing import for `dlog.context`
2023-03-01 16:32:38 +02:00
Tristan B. Velloza Kildaire
494b96e4a0
Context
...
- Added the idea of a `Context`
- A `Context` default has `CompilationInfo` attached to it
Transform
- Switched to using `Context`
Core
- Added new `Context`-based functions, removed old
- Disabled some unit tests for now
Defaults
- Updated the defaults
2023-03-01 16:30:49 +02:00
Tristan B. Velloza Kildaire
fbd45f1763
Core
...
- Fixed bug whereby the meta programming was only enabled during `unittest` build mode
2023-03-01 10:17:04 +02:00
Tristan B. Velloza Kildaire
bf2e54904b
Core
...
- Bug fix for the usage of `contextExtras` (which was not working prior)
Unit tests
- Added a new unit test to fix the `contextExtras` feature of `log(...)`
2023-03-01 10:09:18 +02:00
Tristan B. Velloza Kildaire
b2b5d46d8e
Core
...
- Reworked the meta programming in `log2` to actually function correctly
Unit tests
- Added some more unit tests testing out `log2`
2023-03-01 10:04:27 +02:00
Tristan B. Velloza Kildaire
c92f147773
Logger
...
- Working on the new `log2` function
Unit tests
- Added some padding prints to the unit tests
- Added a universal import that only activates on `unittest` build mode
- Added test for `log2` method
2023-03-01 09:15:10 +02:00