Ruby logging class to log to stdout, stderr, or a file.