Skip to content
Snippets Groups Projects
Select Git revision
  • fe0eab2e3f4e0a9beeec3d66946673bdcb543837
  • master default protected
  • devel
  • feature/add-escaping-to-templates
  • feature/add-priority-sorting
  • 3.3.2
  • 3.3.1
  • 3.3.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.4.12
  • 2.4.11
  • 2.4.10
  • 2.4.9
  • 2.4.8
  • 2.4.7
  • 2.4.6
  • 2.4.5
  • 2.4.4
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3.2
25 results

input-image.php

Blame
  • Settings.php 546 B
    <?php
    
    namespace WPDesk\Logger;
    
    use Psr\Log\LogLevel;
    
    final class Settings {
    
    	/** @var string */
    	public $level = LogLevel::DEBUG;
    
    	/** @var bool */
    	public $use_wc_log = true;
    
    	/** @var bool */
    	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;
    	}
    
    }