summaryrefslogtreecommitdiff
path: root/lib/log.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.js')
-rw-r--r--lib/log.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/log.js b/lib/log.js
index 4386450..240bba1 100644
--- a/lib/log.js
+++ b/lib/log.js
@@ -1,6 +1,9 @@
import consoleFunc from './internal/consoleFunc';
/**
+ * ```
+ * import log from 'async/log'
+ * ```
* Logs the result of an `async` function to the `console`. Only works in
* Node.js or in browsers that support `console.log` and `console.error` (such
* as FF and Chrome). If multiple arguments are returned from the async
@@ -8,7 +11,7 @@ import consoleFunc from './internal/consoleFunc';
*
* @name log
* @static
- * @memberOf module:async
+ * @memberOf module:Utils
* @method
* @category Util
* @param {Function} function - The function you want to eventually apply all