First pass at a java logging library, but not the receiving part