services:
  kamihaya_cms_contentserv_api.logger_channel:
    class: Drupal\Core\Logger\LoggerChannel
    factory: logger.factory:get
    arguments: ['kamihaya_cms_contentserv_api']

  contentserv.api:
    class: Drupal\kamihaya_cms_contentserv_api\Service\ContentServApi
    arguments: ['@http_client', '@config.factory', '@messenger', '@string_translation', '@kamihaya_cms_contentserv_api.logger_channel']
