pothos-library: move logger stuff into Logger class as static methods