Commit Graph

79 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 852388df42 README
- Updated
2024-04-10 17:05:07 +02:00
Tristan B. Velloza Kildaire 55de4b727d
Merge pull request #5 from deavmi/feature/nextgen
DLog v2 - Complete re-write
2024-04-10 13:55:21 +02:00
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 986a3d3bdf RWADME
- Fixed up
2024-04-09 19:20:25 +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 0309e28ec8
Update README.md 2023-03-25 22:42:13 +02:00
Tristan B. Velloza Kildaire f46dae5d69
Create d.yml 2023-03-25 22:41:21 +02:00
Tristan B. Velloza Kildaire bb8f71c9db FInal update for now 2023-03-03 15:31: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 2a6c0b493f - Fixed API documentation links 2023-03-03 15:17:27 +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 adf502335e - Updated 2023-03-03 15:11:11 +02:00
Tristan B. Velloza Kildaire 774c435307 - License update
- Updated .gitignore
2023-03-02 16:24:10 +02:00
Tristan B. Velloza Kildaire e392a7a568 - Updated README 2023-03-02 11:55:38 +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