/**
 * @fileOverview Provides a Bunyan logger.
 */
const bunyan = require('bunyan');

/**
 * Create a singleton bunyan logger and expose it.
 */
const logger = module.exports = bunyan.createLogger({
  name: 'KafkaAvro',
  level: 'info',
});

/**
 * Get a child logger with a relative path to the provided full module path.
 *
 * Usage: const log = require('./util/logger').getChild(__filename);
 *
 * @param {string} modulePath The full modulepath.
 * @return {bunyan.Child} A child logger to use.
 */
logger.getChild = function(modulePath) {
  let cleanModulePath = modulePath.split('kafka-avro').pop();

  return logger.child({module: cleanModulePath});
};

@@ -230,16 +230,75 @@
 'info',%0A
+  // Mute logger%0A  stream: %7B%0A    write: function() %7B%7D%0A  %7D,%0A
 %7D);%0A%0A/**
@@ -647,16 +647,20 @@
 fka-avro
+/lib
 ').pop()

tweak and mute logger