Skip to content
Snippets Groups Projects

feat/message handling

Merged Bartek Jaskulski requested to merge feat/message-handling into master
2 files
+ 65
28
Compare changes
  • Side-by-side
  • Inline

Files

+ 11
0
@@ -4,6 +4,9 @@ namespace WPDesk\Logger;
@@ -4,6 +4,9 @@ namespace WPDesk\Logger;
use Psr\Log\LogLevel;
use Psr\Log\LogLevel;
 
/**
 
* @deprecated
 
*/
final class Settings {
final class Settings {
/** @var string */
/** @var string */
@@ -26,4 +29,12 @@ final class Settings {
@@ -26,4 +29,12 @@ final class Settings {
$this->use_wp_log = $use_wp_log;
$this->use_wp_log = $use_wp_log;
}
}
 
public function to_array(): array {
 
return [
 
'level' => $this->level,
 
'use_wc_log' => $this->use_wc_log,
 
'use_wp_log' => $this->use_wp_log,
 
];
 
}
 
}
}
Loading