Skip to content

Commit

Permalink
better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
minibikini committed Jun 25, 2014
1 parent d28c665 commit 1f3e740
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/AppSpine.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = class AppSpine extends EventEmitter2
if err?
@logger.error "#{name} Error", err if err?
return done(err)
@logger.info "#{name} is ready (#{Date.now() - initStart} ms)"
@logger.trace "#{name} is ready (#{Date.now() - initStart} ms)"
done()

tasks = {}
Expand All @@ -101,7 +101,7 @@ module.exports = class AppSpine extends EventEmitter2


async.auto tasks, (err) =>
@logger.info "Application is ready (#{Date.now() - start} ms)"
@logger.info "Started (#{Date.now() - start} ms)"
@emit 'ready'
cb()

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "appspine",
"version": "0.0.9",
"version": "0.0.10",
"description": "node.js application namespace base class",
"keywords": [
"application",
Expand Down

0 comments on commit 1f3e740

Please sign in to comment.