Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

markdown

  • Loading branch information...
commit e2fed54d86c6042807620e4e133d0800b8059714 1 parent 5f5462d
@isaacs isaacs authored
Showing with 10 additions and 7 deletions.
  1. +10 −7 README.md
View
17 README.md
@@ -96,13 +96,16 @@ Emit all buffered messages that were written while paused.
Emit a log message at the specified level.
-## `log[level](prefix, message, ...)`
-## `log.silly(prefix, message, ...)`
-## `log.verbose(prefix, message, ...)`
-## `log.info(prefix, message, ...)`
-## `log.http(prefix, message, ...)`
-## `log.warn(prefix, message, ...)`
-## `log.error(prefix, message, ...)`
+## log\[level](prefix, message, ...)
+
+For example,
+
+* log.silly(prefix, message, ...)
+* log.verbose(prefix, message, ...)
+* log.info(prefix, message, ...)
+* log.http(prefix, message, ...)
+* log.warn(prefix, message, ...)
+* log.error(prefix, message, ...)
Like `log.log(level, prefix, message, ...)`. In this way, each level is
given a shorthand, so you can do `log.info(prefix, message)`.
Please sign in to comment.
Something went wrong with that request. Please try again.