diff --git a/README.md b/README.md index 64e7874..167fc09 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,9 @@ This should output something like the following: ![](example.png) +Various [styles](https://gogga.dpldocs.info/v2.1.14/gogga.transform.GoggaMode.html) are supported which can be set using `mode(GoggaMode)`. + --- -Or you can also [View the full API](https://gogga.dpldocs.info/v2.1.13/index.html). +Or you can also [View the full API](https://gogga.dpldocs.info/v2.1.14/index.html). diff --git a/source/gogga/core.d b/source/gogga/core.d index c42795b..56332ea 100644 --- a/source/gogga/core.d +++ b/source/gogga/core.d @@ -189,7 +189,8 @@ public class GoggaLogger : Logger /** * Logs using the default context an arbitrary amount of arguments - * specifically setting the context's level to DEBUG + * specifically setting the context's level to DEBUG and will + * only print if debugging is enabled * * Params: * segments = the arbitrary argumnets (alias sequence) @@ -234,7 +235,9 @@ public class GoggaLogger : Logger } } - /* You can also call using `dbg` */ + /** + * Alias for debug_ + */ public alias dbg = debug_; /** diff --git a/source/gogga/transform.d b/source/gogga/transform.d index cc20f6c..239d1c2 100644 --- a/source/gogga/transform.d +++ b/source/gogga/transform.d @@ -13,8 +13,19 @@ import std.conv : to; */ public enum GoggaMode { + /** + * TwoKTwenty3 is: `[] (:) ` + */ TwoKTwenty3, + + /** + * Simple mode is just: `[] ` + */ SIMPLE, + + /** + * Rustacean mode is: `[] (/:) ` + */ RUSTACEAN }