Skip to content
Browse files

updated to 0.4.1

  • Loading branch information...
1 parent 564cd2d commit 385c78299440048521accd7c560f86ec2c2bf213 @baryon committed
Showing with 6 additions and 2 deletions.
  1. +4 −0 README.md
  2. +1 −1 lib/console.js
  3. +1 −1 package.json
View
4 README.md
@@ -380,6 +380,10 @@ module.exports = function(conf) {
## History
+### 0.4.1
+
+* fixed: default timestamp is ISO UTC format.
+
### 0.4.0
* feature: support dailyfile method, added some examples
View
2 lib/console.js
@@ -3,7 +3,7 @@ module.exports = (function() {
// default config
var _config = {
format : "{{timestamp}} <{{title}}> {{file}}:{{line}} ({{method}}) {{message}}",
- dateformat : "yyyy-mm-dd'T'HH:MM:ss.l'Z'",
+ dateformat : "UTC:yyyy-mm-dd'T'HH:MM:ss.l'Z'",
preprocess : function(data) {
},
transport : function(data) {
View
2 package.json
@@ -2,7 +2,7 @@
"name": "tracer",
"description": "A powerful and customizable logging library for node.js. support color console with timestamp, line number, method name, file name and call stack. you can set transport to file, stream, database(ex: mongodb and clouddb, simpledb). keywords: log, logger, trace ",
"homepage": "http://github.com/baryon/tracer",
- "version": "0.4.0",
+ "version": "0.4.1",
"author": "LI Long <lilong@gmail.com>",
"dependencies": {
"dateformat": "1.0.2-1.2.3",

0 comments on commit 385c782

Please sign in to comment.
Something went wrong with that request. Please try again.