Integration → Creating Custom Source Configuration Types → Logging Messages to the Console
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–2019 Micro Focus or one of its affiliates. All rights reserved.