Very basic logging library