Commit Graph

29 Commits

Author SHA1 Message Date
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 59ddf53efa Major refactor
- A lot of clean up
2024-04-09 17:26:55 +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 9b79e6f154 Core
- Updated documentation

Context

- Updated documentation

Transform

- Updated documentation
2023-03-03 15:21:16 +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 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 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 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 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
Tristan B. Velloza Kildaire 6008c8f333 Repository
- Updated .gitignore

Clean up

- General clean up
2023-02-27 19:07:09 +02:00
Tristan B. Velloza Kildaire c410dd3bc0 - Made unittests more concise 2023-01-07 21:17:39 +02:00
Tristan B. Velloza Kildaire 6e7ab612dc - Now you can use arbitrary amount of arguments as the message text
- Ability to set the joiner of arguments in multi-variate case
2023-01-07 21:10:15 +02:00
Tristan B. Velloza Kildaire c975b2d99b Fixed docstrings for modules 2021-12-23 15:16:31 +02:00
Tristan B. Velloza Kildaire e4509f1dfc Added missing docstrings 2021-12-23 15:14:51 +02:00
Tristan B. Velloza Kildaire e22c677026 Added missing docstring 2021-12-23 15:11:40 +02:00
Tristan B. Velloza Kildaire 09c7d85434 Added missing docstrings 2021-12-23 15:05:47 +02:00
Tristan B. Velloza Kildaire 5eb73a3fbc Initial commit 2021-12-23 12:14:36 +02:00