Add space between if and ‘(‘
[MAILPOET-1791]
This commit is contained in:
@@ -35,10 +35,10 @@ class Logger {
|
||||
* @return \MailPoetVendor\Monolog\Logger
|
||||
*/
|
||||
public static function getLogger($name = 'MailPoet', $attach_processors = WP_DEBUG) {
|
||||
if(!isset(self::$instance[$name])) {
|
||||
if (!isset(self::$instance[$name])) {
|
||||
self::$instance[$name] = new \MailPoetVendor\Monolog\Logger($name);
|
||||
|
||||
if($attach_processors) {
|
||||
if ($attach_processors) {
|
||||
// Adds the line/file/class/method from which the log call originated
|
||||
self::$instance[$name]->pushProcessor(new IntrospectionProcessor());
|
||||
// Adds the current request URI, request method and client IP to a log record
|
||||
|
Reference in New Issue
Block a user