Skip to content
Snippets Groups Projects

bugfix(factory): wc logger

Merged Grzegorz Rola requested to merge feature/wc-logger into master
3 files
+ 41
12
Compare changes
  • Side-by-side
  • Inline

Files

+ 11
0
@@ -15,4 +15,15 @@ final class Settings {
@@ -15,4 +15,15 @@ final class Settings {
/** @var bool */
/** @var bool */
public $use_wp_log = true;
public $use_wp_log = true;
 
/**
 
* @param string $level
 
* @param bool $use_wc_log
 
* @param bool $use_wp_log
 
*/
 
public function __construct( string $level = LogLevel::DEBUG, bool $use_wc_log = true, bool $use_wp_log = true ) {
 
$this->level = $level;
 
$this->use_wc_log = $use_wc_log;
 
$this->use_wp_log = $use_wp_log;
 
}
 
}
}
Loading