old_contents: const { 'default': Logger, configure: nightingaleConfigure, levels } = require('nightingale');
  const ConsoleHandler = require('nightingale-console').default;
  
  const config = level => (
    [
      {
          patterns: ['pob-build', 'pob-build.*'],
          handler: new ConsoleHandler(level),
      },
    ]
  );
  
  module.exports = {
      config,
      levels,
      configure: level => nightingaleConfigure(config(level || levels.ERROR)),
      logger: new Logger('pob-build'),
  };
  
new_contents: const { 'default': Logger, configure: nightingaleConfigure, levels } = require('nightingale');
  const ConsoleHandler = require('nightingale-console').default;
  
  const config = level => (
    [
      {
          pattern: /^pob-build/,
          handler: new ConsoleHandler(level),
      },
    ]
  );
  
  module.exports = {
      config,
      levels,
      configure: level => nightingaleConfigure(config(level || levels.ERROR)),
      logger: new Logger('pob-build'),
  };
  
subject: fix pattern nightingale 5