             @button outlet: 'filterButton', class: 'btn', 'Filter'
           @div class: 'btn-group', =>
             @button outlet: 'tailButton', class: 'btn btn-icon icon-arrow-down'
+          @div class: 'btn-group', =>
+            @button outlet: 'caseSensistiveButton', class: 'btn', 'Aa'
           @div class: 'btn-group btn-group-level', =>
             @button outlet: 'levelVerboseButton', class: 'btn log-verbose', 'V'
             @button outlet: 'levelInfoButton', class: 'btn log-info', 'I'


    @filterButton.on 'click', => @confirm()
    @tailButton.on 'click', => @toggleTail()
    @levelVerboseButton.on 'click', => @toggleButton('verbose')
    @levelInfoButton.on 'click', => @toggleButton('info')
    @levelDebugButton.on 'click', => @toggleButton('debug')

    @updateButtons()
    @tail()

  toggleCaseSensitivity: ->
    atom.config.set('language-log.caseInsensitive', !atom.config.get('language-log.caseInsensitive'))
    @updateButtons()
    @confirm()

  toggleButton: (level) ->
    @settings[level] = if @settings[level] then false else true
    @updateButtons()
