Integration → Creating Custom Source Configuration Types → Logging Messages
For debugging and informational purposes you can log the messages to the system console.
To define and use logging:
Logger log = Logger.getLogger(YourClass.class);
Informational Messages
log.info(" Your informational message goes here ");Debugging Messages
Debugging Mode must be enabled.
log.debug(" Your debug message goes here ");
For error messages
log.error(" Your error message goes here ", exceptionVariable);
Copyright © 2011–2017 Serena Software, Inc., a Micro Focus company. All rights reserved.