log: implemented log interface
log: starting to implement log interface

This will give us log levels functionality.
Relates to #115