On this page:

29.11Log API

 

The Log object provides logging capabilities.

29.11.1Methods: 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!');