I’ve been using the ofLog
class for easy logging in my of apps for some time now. And in order to debug and profile better I would like to have a timestamp in each log message too, rather than just the level.
I’ve searched around and came across this addon, which does everything I want and more https://github.com/gameoverhack/ofxLogger. I would like though to keep my app to as little external dependencies as possible, for ease of maintainability and installation.
Therefore, I was wondering if any more oF savy user wouldn’t be able to tell me how to achieve a timestamp in there without necessarily including a new addon. I mean, isn’t there some way in oF to configure the logging? As far as I know this seems to be pretty standard feature of any logging capabilities.
Thanks in advance!