Permalink
Browse files

use yellow for warnings cause it isnt as scary

  • Loading branch information...
1 parent 87acd32 commit 067920defe24a9808086c913421592824c15e2d0 @maxogden maxogden committed Jul 5, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 log.js
  2. +1 −1 test/basic.js
View
2 log.js
@@ -149,6 +149,6 @@ log.addLevel('silly', -Infinity, { inverse: true }, 'sill')
log.addLevel('verbose', 1000, { fg: 'blue', bg: 'black' }, 'verb')
log.addLevel('info', 2000, { fg: 'green' })
log.addLevel('http', 3000, { fg: 'green', bg: 'black' })
-log.addLevel('warn', 4000, { fg: 'black', bg: 'red' }, 'WARN')
+log.addLevel('warn', 4000, { fg: 'black', bg: 'yellow' }, 'WARN')
log.addLevel('error', 5000, { fg: 'red', bg: 'black' }, 'ERR!')
log.addLevel('silent', Infinity)
View
@@ -87,7 +87,7 @@ var resultExpect =
'\u001b[0m',
' ',
'\u001b[0m',
- '\u001b[35m',
+ '\u001b[33m',
'warn prefix',
'\u001b[0m',
' x = {"foo":{"bar":"baz"}}\n',

0 comments on commit 067920d

Please sign in to comment.