Added documentation to log class constructor.