cinder / Cinder

Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
http://libcinder.org
Other
5.27k stars 939 forks source link

Logging updates #2245

Closed num3ric closed 3 years ago

num3ric commented 3 years ago

Surfaced log level getter & setter to the logger base class to allow changes at runtime across all loggers. Also added a limitDirectoryFileCount function in Utilities.h to remove log files exceeding a file count.

num3ric commented 3 years ago

Note that this is a (minor) breaking interface change with the previous setTriggerLevel and setLoggingLevel functions superseded by the base setLevel function.