Log

This class is responsible for setting up logging functionality in the BigCommerce container.

It registers services for logging, defines constants for log paths, and handles log-related actions during the BigCommerce import process, such as logging errors and diagnostics.

  • Full name: \BigCommerce\Container\Log
  • Parent class: Provider

Constants

ConstantVisibilityTypeValue
LOGGERpublicstring’logger.log’
LOG_PATHpublicstring’logger.log_path’
LOG_FOLDER_PATHpublicstring’logger.log_folder_path’

Methods

register

Registers logging-related services and actions in the container.

public register(\Pimple\Container $container): mixed

This method sets up the necessary services for logging, such as the log file path, log folder path, and logger instance. It also registers various actions and filters for logging during the BigCommerce import process.

Parameters:

ParameterTypeDescription
$container\Pimple\ContainerThe container instance used to register the services.


Automatically generated on 2025-01-21