constructor(compiler) {
    this.compiler = compiler;

    pluginCompat.register(compiler, 'hardSourceLog', 'sync', ['data']);
  }
@constructor LoggerFactory
@memberof module:hard-source-webpack-plugin/logger-factory