diff --git a/README.md b/README.md index a5b6ba2..29a7e59 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index b2eb3e8..cb5cd0d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "log4js", - "version": "0.2.2", + "version": "0.2.3", "description": "Port of Log4js to work with node.", "keywords": [ "logging",