   Section: Log Level
   ###
 
+  # Public: Sets the logging level.
+  #
+  # * `level` Level name {String}.
   setLevel: (level) ->
     @level = level
-
-  ###
-  Section: Logging
-  ###
-
-  d: (message) ->
-    message = @indentText(message)
-    console.log(message) if @levelNumber(@level) <= @levelNumber('debug')
-
-  v: (message) ->
-    console.log(message) if @levelNumber(@level) <= @levelNumber('verbose')
-
-  i: (message) ->
-    console.log(message) if @levelNumber(@level) <= @levelNumber('info')
-
-  w: (message) ->
-    console.log(message) if @levelNumber(@level) <= @levelNumber('warn')
-
-  e: (message) ->
-    console.log(message) if @levelNumber(@level) <= @levelNumber('error')
 
   levelNumber: (level) ->
     switch level

class LogError extends Error

# Public: Used to log messages.
class Log
  constructor: ->
    @indent = 0

  ###
  Section: Indentation


  # Public: Increases the indentation of all future log messages by one level.
  #
  # * `fn` (optional) {Function} to call synchronously within which indentation is increased by one
  #     level. Outside this function, indentation is unchanged.
  #
  # Returns whatever `fn` returns, if supplied.
  increaseIndent: (fn) ->
    @indent += 2

    if fn
      retval = fn()
      @indent -= 2
      retval

