Make logs class configurable

This allows the Logs class to be defined via the configuration file. This will allow applications to implement custom logging mechanisms.