text: 'use strict';
  
  const consts = require('../constants');
  const LoggerBase = require('./LoggerBase');
  const EntryContext = require('../contexts/EntryContext');
  
  class NetworkLogger extends LoggerBase {
    constructor(logContext) {
      super(logContext, consts.NETWORK_LOG_CATEGORY);
    }
  
    _outputEntry(level) {
      const ctx = new EntryContext(this._logContext, {
        type: 'request',
        loggingToolName: 'nodejs-request-logger',
        component: this._component,
        level: level,
        messageArgs: null,
        addStack: false
      });
  
      // eslint-disable-next-line no-console
      console.log(this._appContext._formatters.log.formatNetwork(ctx));
    }
  }
  
  module.exports = NetworkLogger;
  