From 079edd19c8e370dac65cfd5e9456dfcdfd327c9f Mon Sep 17 00:00:00 2001 From: csausdev Date: Sun, 16 Jan 2011 13:24:07 +1100 Subject: [PATCH] bumped version, added configure(object) to README --- README.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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",