   ###
     Error handler
   ###
-  error: (message, error) ->
+  error: ( message, error ) ->
     if error and error.stack
       error = error.stack
       if @env is "development"

  ###
    New line
  ###
  newLine: (num=1) ->
    console.log _s.repeat "\n", num-1

  ###
    Log message
  ###
  log: (message..., type) ->
    index = levels.indexOf type
    return this if index > @level or not @enabled
    time = utils.timeString()
    spacing = (loggers.reduce (a, b) -> a.length > b.length ? a : b).length + 1
    if @env is "development"
      sp1 = _s.repeat(" ", spacing).split(" ").slice(@name.length).join(" ")
      sp2 = "      ".split(" ").slice(type.length).join(" ")

  ###
    Create methods for each level
  ###
  levels.forEach ( name ) ->
    return if name is "log"
    return if name is "error"
    Logger::[name] = ->
      @log.apply this, Array::slice.call( arguments ).concat( [ name ] )
    return