Commit Graph

23 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 98b65305a5 Package
- Added missing documentation
2023-03-03 11:30:26 +02:00
Tristan B. Velloza Kildaire eef86c82e1 Transform
- Added missing documentation
2023-03-03 11:27:49 +02:00
Tristan B. Velloza Kildaire ca95bf53ad Core
- Added documentation to missing functions

Package

- Added module documentation
2023-03-03 11:20:54 +02:00
Tristan B. Velloza Kildaire 0b2542b5ab Core
- Moved unit tests to bottom of module
2023-03-03 11:17:15 +02:00
Tristan B. Velloza Kildaire d64bfb6970 GoggaLogger
- `debug(...)` will now only print if debugging is enabled

Unit tests

- Updated unit tests to test debugging, cleaned up
2023-03-03 11:14:35 +02:00
Tristan B. Velloza Kildaire 7285b3e3cf Package
- Export `GoggaMode`
2023-03-02 16:09:04 +02:00
Tristan B. Velloza Kildaire 9328d6d021 Transform
- Rustacean mode implemented
2023-03-02 13:56:53 +02:00
Tristan B. Velloza Kildaire 2cfaf9cc60 Transform
- Fixed `SIMPLE` mode
2023-03-02 13:53:29 +02:00
Tristan B. Velloza Kildaire bcfcb52e1b Transform
- Make `TwoKTwenty3` the default mode
- `debugColor(string, Level)` now resets VT100 colors so it can be used individually

Logger

- Added mode selection
- Added two more unittests to test mode selection
2023-03-02 13:49:59 +02:00
Tristan B. Velloza Kildaire 7ad503825f - Adding transform modes 2023-03-02 13:44:10 +02:00
Tristan B. Velloza Kildaire 7652938043 Core
- Removed uneeded unittest with commented-out code
- Moved `GoggaTransform` outside of the `dlog.core` module

Transform

- Placed the `GoggaTransform` into the `dlog.transform` module

Context

- Placed `GoggaContext` into its own module named `gogga.context`
2023-03-02 13:31:37 +02:00
Tristan B. Velloza Kildaire 7124da73de - New package structure
- Updated usage example
2023-03-02 13:12:21 +02:00
Tristan B. Velloza Kildaire 9bf782b107 - Removed old `DebugType`
- CLean up
2023-03-02 13:01:29 +02:00
Tristan B. Velloza Kildaire 8766e3bcc5 Gogga
- Upgraded to `dlog ` `v0.3.6`
- Override `warn`, `debug_`, `info` and `error` and instantiate a new `GoggaContext` within
- Fixed `debugColor(string, Level)`

GoggaContext

- Removed overriden methods
2023-03-02 11:40:47 +02:00
Tristan B. Velloza Kildaire 1cf5f36dfe Gogga
- Added these methods imma delete (`info()`, `warn()` and `error()`)

Dub

- Upgraded to `dlog` `0.2.1`
2023-03-02 11:29:20 +02:00
Tristan B. Velloza Kildaire f2db427ac7 Gogga
- Added a TODO to fix some things
2023-03-01 10:16:10 +02:00
Tristan B. Velloza Kildaire 934a1f85d8 Gogga
- Made very nice
2023-02-21 17:48:15 +02:00
Tristan B. Velloza Kildaire a0d74701d5 Added unittests and gained 100% coverage 2023-01-07 18:12:03 +02:00
Tristan B. Velloza Kildaire 8cffa843f4 Forgot to append message 2021-03-20 18:46:51 +02:00
Tristan B. Velloza Kildaire 76ce095a66 Bug fix 2021-03-20 18:45:34 +02:00
Tristan B. Kildaire 89df29f7a1 Removed need for mutex
Added generator function
2021-03-17 09:59:43 +02:00
Tristan B. Kildaire aa5e03f84e Unlock mutex, don't lock it again 2020-10-29 11:32:12 +02:00
Tristan B. Kildaire 7a963dab38 Added source code 2020-10-29 11:19:12 +02:00