Update logger to implement accepted PSR log spec

Add tests!