Caption added to log function