diff --git a/src/as/com/threerings/util/Log.as b/src/as/com/threerings/util/Log.as index 65927cfac..4c448940c 100644 --- a/src/as/com/threerings/util/Log.as +++ b/src/as/com/threerings/util/Log.as @@ -157,6 +157,11 @@ public class Log * of parameters is printed in key/value form, the benefit being that if no log * message is generated then toString() will not be called on the values. * A final parameter may be an Error, in which case the stack trace is printed. + * + * @example + * + * log.debug("Message", "key1", value1, "key2", value2, optionalError); + * */ public function debug (... args) :void { @@ -170,6 +175,11 @@ public class Log * of parameters is printed in key/value form, the benefit being that if no log * message is generated then toString() will not be called on the values. * A final parameter may be an Error, in which case the stack trace is printed. + * + * @example + * + * log.info("Message", "key1", value1, "key2", value2, optionalError); + * */ public function info (... args) :void { @@ -183,6 +193,11 @@ public class Log * of parameters is printed in key/value form, the benefit being that if no log * message is generated then toString() will not be called on the values. * A final parameter may be an Error, in which case the stack trace is printed. + * + * @example + * + * log.warning("Message", "key1", value1, "key2", value2, optionalError); + * */ public function warning (... args) :void {