Logging

15 views
Skip to first unread message

Alessio Bonforti

unread,
Apr 15, 2020, 2:39:08 PM4/15/20
to pircbotx
Hi,
I've read the documentation but it's not fully clear to me how to handle logging.
I would like to log all the messages coming to the bot from the server (for debugging purposes).

Afaiu, I should use this: https://github.com/pircbotx/pircbotx/wiki/Documentation#backgroundlistenermanager and I should create a new LoggingListener, how to create the logging listener? By extending the default one?
It feels weird to me that there isn't any one available by default, so maybe i'm searching in the wrong place.

Regards
Reply all
Reply to author
Forward
0 new messages