Implemented basic logging framework