Permalink
Browse files

Doc fix

  • Loading branch information...
1 parent 2ae114c commit 075a2b1c723f127aebaa224e221fe6c07dfa1836 @sdolard committed Nov 14, 2011
Showing with 7 additions and 3 deletions.
  1. +1 −1 README.md
  2. +2 −2 package.json
  3. +4 −0 test/log-to-file-bench.js
View
@@ -90,7 +90,7 @@ Just run test/run_test.js
Just run test/log-to-file-bench.js
```
-Bench on my MacBook Pro 10.6.8, 2.53GHz Intel Core 2 Duo, 7200 HDD) with node 0.6.0:
+Bench on my MacBook Pro (OS X 10.6.8, 2.53GHz Intel Core 2 Duo, 7200 HDD) with node 0.6.0:
Running bench 0. fileMaxSize: 5.00MB, maxBackupFileNumber: 0, gzipBackupFile: 0
................Total:1.00GB in 12704ms: 80.60MB/s
Running bench 1. fileMaxSize: 5.00MB, maxBackupFileNumber: 0, gzipBackupFile: 1
View
@@ -1,7 +1,7 @@
{
"name" : "log-to-file",
"description": "A simple log writer. Rotation and compression (gzip) are supported.",
- "version" : "0.1.0",
+ "version" : "0.1.1",
"author" : "Sebastien Dolard",
"email" : "sdolard@gmail.com",
"keywords" : ["log", "writter", "rotation"],
@@ -25,7 +25,7 @@
"licenses" : [
{
"type" : "MIT",
- "url" : "https://raw.github.com/node-log-to-file/master/LICENSE"
+ "url" : "https://raw.github.com/sdolard/node-log-to-file/master/LICENSE"
}
]
}
@@ -138,6 +138,10 @@ function runTest() {
runTest();
});
+ log.on('error', function(err){
+ console.log(err);
+ });
+
for (i = 0; i < elements; i++) {
log.write(dataTest);

0 comments on commit 075a2b1

Please sign in to comment.