Ruby logfile class