From 09c7d8543443d4f8fac0f9b8417a8c44e09222df Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Thu, 23 Dec 2021 15:05:47 +0200 Subject: [PATCH] Added missing docstrings --- source/dlog/core.d | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source/dlog/core.d b/source/dlog/core.d index 3d43066..b7e0b17 100644 --- a/source/dlog/core.d +++ b/source/dlog/core.d @@ -109,13 +109,17 @@ public abstract class MessageTransform /* Transformation (implement this) */ public abstract string transform(string text, string[] context); - /* Chain a transform */ + /** + * Chain a transform + */ public final void chain(MessageTransform transform) { chainedTransform = transform; } - /* Perform the transformation */ + /** + * Perform the transformation + */ public final string execute(string text, string[] context) { /* Perform the transformation */ @@ -145,4 +149,4 @@ unittest logger.log([1,2,3]); logger.log('f'); logger.log(logger); -} \ No newline at end of file +}