8000 updated readme with node 0.10 info · Web5design/log4js-node@ecbf41b · GitHub
[go: up one dir, main page]

Skip to content

Commit ecbf41b

Browse files
author
Gareth Jones
committed
updated readme with node 0.10 info
1 parent 65e490c commit ecbf41b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Out of the box it supports the following features:
1717
* configurable log message layout/patterns
1818
* different log levels for different log categories (make some parts of your app log as DEBUG, others only ERRORS, etc.)
1919

20+
NOTE: version 0.6.0 onwards will only work with node v0.10.x upwards, since it makes use of the new streams API. If you're using node 0.8 or lower, use log4js@0.5.7.
21+
2022
NOTE: from log4js 0.5 onwards you'll need to explicitly enable replacement of node's console.log functions. Do this either by calling `log4js.replaceConsole()` or configuring with an object or json file like this:
2123

2224
```javascript

0 commit comments

Comments
 (0)
0