mirror of https://github.com/deavmi/dlog.git
Added missing docstrings
This commit is contained in:
parent
fec60c560a
commit
09c7d85434
|
@ -109,13 +109,17 @@ public abstract class MessageTransform
|
||||||
/* Transformation (implement this) */
|
/* Transformation (implement this) */
|
||||||
public abstract string transform(string text, string[] context);
|
public abstract string transform(string text, string[] context);
|
||||||
|
|
||||||
/* Chain a transform */
|
/**
|
||||||
|
* Chain a transform
|
||||||
|
*/
|
||||||
public final void chain(MessageTransform transform)
|
public final void chain(MessageTransform transform)
|
||||||
{
|
{
|
||||||
chainedTransform = transform;
|
chainedTransform = transform;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Perform the transformation */
|
/**
|
||||||
|
* Perform the transformation
|
||||||
|
*/
|
||||||
public final string execute(string text, string[] context)
|
public final string execute(string text, string[] context)
|
||||||
{
|
{
|
||||||
/* Perform the transformation */
|
/* Perform the transformation */
|
||||||
|
@ -145,4 +149,4 @@ unittest
|
||||||
logger.log([1,2,3]);
|
logger.log([1,2,3]);
|
||||||
logger.log('f');
|
logger.log('f');
|
||||||
logger.log(logger);
|
logger.log(logger);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue