- Member | 12
I'm using nette-slack-logger with Nette 2.4.
Documentation says: “You can also set custom handlers for logger. Just get
your logger instance through DI or by calling
Tracy\Debugger::getLogger() and use method addHandler to add your
but when I'm trying to do that,
doesn't returns SlackLogger instance and invoking it by DI causes not found (did
you registrer it in the configuration file?) exception.
However, SlackLogger is working.
How can I invoke it and call
addHandler in Nette 2.4?