bumped version, added configure(object) to README
This commit is contained in:
parent
a876dfbe9c
commit
079edd19c8
@ -52,6 +52,7 @@ Output
|
||||
You can either configure the appenders and log levels manually (as above), or provide a
|
||||
configuration file (`log4js.configure('path/to/file.json')`) explicitly, or just let log4js look for a file called `log4js.json` (it looks in the current directory first, then the require paths, and finally looks for the default config included in the same directory as the `log4js.js` file).
|
||||
An example file can be found in `test/log4js.json`. An example config file with log rolling is in `test/with-log-rolling.json`
|
||||
You can also pass an object to the configure function, which has the same properties as the json versions.
|
||||
|
||||
## todo
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "log4js",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.3",
|
||||
"description": "Port of Log4js to work with node.",
|
||||
"keywords": [
|
||||
"logging",
|
||||
|
Loading…
Reference in New Issue
Block a user