Skip to content

Commit c0c6160

Browse files
committed
allow handlers and processors methods
1 parent 3ebb9f8 commit c0c6160

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

example.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,4 @@
2727
"Facebook",
2828
"Instagram"
2929
]
30-
]
31-
);
32-
33-
echo(BuffLog::getName());
30+
]);

src/php-bufflog/BuffLog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class BuffLog {
1919
];
2020

2121
private static $logOutputMethods = ['debug', 'info', 'notice', 'warning', 'error', 'critical'];
22-
private static $extraAllowedMethods = ['getName'];
22+
private static $extraAllowedMethods = ['getName', 'pushHandler', 'setHandlers', 'getHandlers', 'pushProcessor', 'getProcessors'];
2323

2424
/**
2525
* Method to return the Monolog instance

0 commit comments

Comments
 (0)