add log methods