minor fixes

Hi, I was looking for a simple but useful logging library and yours looked nice. So I've added few things which might be useful.