services:
  logger.foo:
    class: Drupal\foo\Logger\FileLog
    arguments: ['@config.factory', '@logger.log_message_parser', '@date.formatter']
    tags:
      - { name: logger }
