Permalink
Browse files

Docs for loglevel conf setting.

  • Loading branch information...
1 parent a826f98 commit 4ff3ddf30ad0589029ef54b5ab811b55928a2614 @isaacs isaacs committed Aug 24, 2010
Showing with 18 additions and 0 deletions.
  1. +9 −0 doc/config.md
  2. +9 −0 man/config.1
View
@@ -72,6 +72,15 @@ doing:
Configurations defined on the command line are not saved to the .npmrc file.
+### loglevel
+
+Default: "info"
+
+The log level to show. Levels are: verbose, info, warn, error, win, silent.
+Each of these maps to a numeric value, above which all logs must pass to be
+seen. "win" only shows the "ok" or "not ok" ending message. The other
+options are self-explanatory.
+
### auto-activate
Default: true
View
@@ -111,6 +111,15 @@ npm \-\-key val <command>
.P
Configurations defined on the command line are not saved to the \.npmrc file\.
.
+.SS "loglevel"
+Default: "info"
+.
+.P
+The log level to show\. Levels are: verbose, info, warn, error, win, silent\.
+Each of these maps to a numeric value, above which all logs must pass to be
+seen\. "win" only shows the "ok" or "not ok" ending message\. The other
+options are self\-explanatory\.
+.
.SS "auto\-activate"
Default: true
.

0 comments on commit 4ff3ddf

Please sign in to comment.