For the complete documentation index, see llms.txt. This page is also available as Markdown.

log

Log specific information in Eagle software for debugging and troubleshooting during development.

Click here to see how to obtain Eagle software logs.

eagle.log.debug('debug message from plugin');
eagle.log.info('info message from plugin');
eagle.log.warn('warn message from plugin');
eagle.log.error('error message from plugin');

// [13:19:39.845] [debug] [plugin] "debug message from plugin"
// [13:19:39.845] [info] [plugin] "info message from plugin"
// [13:19:39.845] [warn] [plugin] "warn message from plugin"
// [13:19:39.845] [error] [plugin] "error message from plugin"

Methods

debug(obj)

Log debug-type content to the software log

  • obj Object - The content to be recorded, can be Object, String, Array, and other formats

eagle.log.debug(obj);
eagle.log.debug(array);
eagle.log.debug('error message from plugin');

info(obj)

Log info-type content to the software log

  • obj Object - The content to be recorded, can be Object, String, Array, and other formats


warn(obj)

Log warn-type content to the software log

  • obj Object - The content to be recorded, can be Object, String, Array, and other formats


error(obj)

Log error-type content to the software log

  • obj Object - The content to be recorded, can be Object, String, Array, and other formats


Last updated