AeliaWCEU_VAT_AssistantLogger

Writes to the log used by the plugin.

Defined (1)

The class is defined in the following location(s).

/src/lib/classes/logger/logger.php  
  1. class Logger extends \Aelia\WC\Logger { 
  2. /** 
  3. * Class constructor. 
  4. * @param string log_id The identifier for the log. 
  5. * @param bool debug_mode Indicates if debug mode is active. If it's not,  
  6. * debug messages won't be logged. 
  7. */ 
  8. public function __construct($log_id, $debug_mode = false) { 
  9. parent::__construct($log_id, WC_Aelia_EU_VAT_Assistant::settings()->get('debug_mode', false));