karolherbst / Gamekeeper-Framework

Library for hooking up game stores and merging them into one single library
GNU Lesser General Public License v2.1
2 stars 0 forks source link

Logging functioanlities #21

Closed karolherbst closed 10 years ago

karolherbst commented 10 years ago

gamelib needs a very good logging framework, because we have many requierments here:

because some parts won't be in the codebase of gamelib (mostly store backends, which will be developed as plugins in seperate repositories), we need to provide a logging API, which can be simply used by store backends, game launcher, installers, etc...

here is a list of C++ logging frameworks: here is a nice list of logging libraries http://binglongx.wordpress.com/2010/07/23/logging-libraries-in-c/

I tend to use boost.log because it seems to be pretty good and high quality, but I don't want to force it this way and want to ask, if you have any experience and what you think would be the best.

karolherbst commented 10 years ago

Pantheios seems to be the fastest of all, if the API and functionality is fine, we should use this.

karolherbst commented 10 years ago

I guess boost.log will be the winner, because it is easy to use as an async logger (everything else won't make any sense at all) and already adopted by distributions

karolherbst commented 10 years ago

We will give boost.log a try first. So closing untill we messed up with it.

karolherbst commented 10 years ago

sadly log4cpp handles all instances in a global space. Also we aren't able to create logger dependencies our self. I would like to use another implementation.

karolherbst commented 10 years ago

mhh, we have other problems now. Anyway we can replace it at any time anyway