the log class source code