 
     @highlight = (@getOption 'highlight') or 'profile'
 
+    @stringifyOptions = {}
+
+    if separator = @getOption 'separator'
+      @stringifyOptions = { separator }
+
+
   viewAppended: -> @addSubView @container
 
   raise : -> @setClass   'raise'


  set: (content...) ->

    content = stringify content
    @code.updatePartial hljs.highlight(@highlight, content).value
    @scrollToBottom()


    @code.updatePartial ''
    return this

  stringify: (content) ->

    for item, i in content
      content[i] = if typeof item is 'object'
      then objectToString item, @stringifyOptions 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()
