40.13.1Log API

 

The Log object provides logging capabilities.

40.13.2Methods: debug(string), info(string), warn(string), error(string)

 

These methods create log lines using the logging system of Smile CDR.

Inputs:

  • string – A line to log.

Outputs:

  • This method does not return a value.

Example:

Log.debug('Starting mapping...');
Log.info('Processing completed normally.');
Log.warn('Patient not found.');
Log.error('Mapping failed!');