Fixed documentation for main log function.