HyperbolicBubble / Cochraine

C++. TwitchIRC Bot with run-time plugin support.
http://hyperbolicbubble.com
GNU General Public License v3.0
2 stars 0 forks source link

File management for configuration and logging #3

Open HyperBGod opened 11 years ago

HyperBGod commented 11 years ago

We need an extensible management system to write logs and read/write configuration files.

Stuff like channels it's been invited to, in case it needs to go down and writing in the log that it's going down.

I feel like this should be written in json for the fast render times. Quite happy to use an external library for json, as long as it's under the same license.

It would be nice too, so we could generate web reports for the logs and statistics. Though, we might approach this differently.

Logging needs to be reliable, and detailed enough from the offset. Should have a verbose flag, also. Singleton instance in the global scope?