addRecord(record) {
    const { handlers, processors } = this.getHandlersAndProcessors(record.level);

    if (handlers.length === 0) {
      if (record.level > levels.ERROR) {
        // eslint-disable-next-line no-console
        console.log('[nightingale] no logger for > error level.', {
          key: record.key,
          message: record.message
        });
      }
      return;
    }

    if (processors) {
      processors.forEach(process => process(record, record.context));
    }

    handlers.some(handler => handler.handle(record) === false);
  }
/**
   * Handle a record
   *
   * Use this only if you know what you are doing.
   */
Handle a record
Use this only if you know what you are doing.
Handle a record Use this only if you know what you are doing .
addRecord(record) {
    const { handlers, processors } = this.getHandlersAndProcessors(record.level);
    if (handlers.length === 0) {
      if (record.level > levels.ERROR) {
        console.log('[nightingale] no logger for > error level.', {
          key: record.key,
          message: record.message
        });
      }
      return;
    }
    if (processors) {
      processors.forEach(process => process(record, record.context));
    }
    handlers.some(handler => handler.handle(record) === false);
  }
addRecord ( record ) { const { handlers , processors } = this . getHandlersAndProcessors ( record . level ) ; if ( handlers . length === 0 ) { if ( record . level > levels . ERROR ) { console . log ( '[nightingale] no logger for > error level.' , { key : record . key , message : record . message } ) ; } return ; } if ( processors ) { processors . forEach ( process => process ( record , record . context ) ) ; } handlers . some ( handler => handler . handle ( record ) === false ) ; }
Handle a record
 Use this only if you know what you are doing.
Handle a record Use this only if you know what you are doing .
// eslint-disable-next-line no-console