     return @add prefix, err.message or err
 
 
+  scrollToBottom: ->
+
+    @getDelegate()?.scrollToBottom?()
+
+    super

    @code.updatePartial ''
    return this

  stringify = (content) ->

    for item, i in content
      content[i] = if typeof item is 'object' \
                   then objectToString item else item

    content = content.join ' '


  add: (content...) ->

    content = stringify content
    content = "[#{dateFormat Date.now(), 'HH:MM:ss'}] #{content}\n"
    @code.setPartial hljs.highlight(@highlight, content).value
    @scrollToBottom()


    @highlight = (@getOption 'highlight') or 'profile'

    @stringifyOptions = {}

    if separator = @getOption 'separator'
      @stringifyOptions = { separator }


  viewAppended: -> @addSubView @container

  raise : -> @setClass   'raise'
