newargs = new Array("[" + new Date + "]" + " " + levelStr).concat([].slice.call(args))
meth.apply(console, newargs)
return
emergency: (msg) ->
@log "EMERGENCY", arguments
return
alert: (msg) ->
@log "ALERT", arguments
return
critical: (msg) ->
@log "CRITICAL", arguments
return
error: (msg) ->
@log "ERROR", arguments
return
warning: (msg) ->
@log "WARNING", arguments
return
notice: (msg) ->
@log "NOTICE", arguments
return
info: (msg) ->
@log "INFO", arguments
return
debug: (msg) ->
@log "DEBUG", arguments
return
(exports ? this).BrowserLog = BrowserLog