crappy attempt at a logger
added simple logging test
revamped for simple logging