Skip to content

mazbox/ofxSuperLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxSuperLog

This enhances the ofLog system to allow you to have one log call that simultaneously writes to a log file (with a timestamped name, per-launch) and to the screen.

To use, in testApp::setup()

Call ofSetLoggerChannel(ofxSuperLog::getLogger(true, true, "logs"));

Where the first paramter is whether you want to write to the console, the second is whether you want to draw it to the screen, and the third, if you want to write to a file, what the folder is called.

If you specify a folder that doesn't exist it will create one for you.

There is some basic interaction with the screen based logging so you can minimize it. If you want to hide it completely you'd call this:

ofxSuperLog::getLogger()->setScreenLoggingEnabled(false);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages