   	logObj.setOutput outputFunc
 
   describe '.constructor', ->
-    it 'constructor', ->
+    it 'passing in parameters to constructor', ->
       formatter = (data) -> data["level"] + "." + data["source"] + "." + data["title"]
       logObj = new logger("logger-test", logger.Info, formatter, outputFunc)
       logObj.debug "testlogdebug"

    describe '.logwarning', ->
      beforeEach ->
        logObj.setLogLevel logger.Warning
      it 'empty', ->
        logObj.debug "testlogdebug"
        assert.equal sample, ""

        logObj.info "testloginfo"
        assert.equal sample, ""
      it 'notempty', ->
        logObj.warn "testlogwarning"
        assert.notDeepEqual JSON.parse(sample), ""



        logObj.error "testlogerror"
        assert.equal sample, ""
      it 'not empty cases due to log level', ->
        logObj.critical "testlogcritical"
        assert.notDeepEqual JSON.parse(sample), ""

  describe '.diffformat', ->
    it 'use a different formatter than KV', ->
      testFormatter = (data) -> "\"This is a test\""
      logObj.setFormatter testFormatter
      logObj.warn "testlogwarning"
