Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import logger from '../logSetup';
processLoan(...) {
logger.debug(">>>> Entering processLoan()");
// ... process
logger.debug(`Processing user loan with id ${userService.getUser().getId()}`);
// this might throw error, when getUser returns undefined
logger.debug("<<<< Exiting processLoan()");
return true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment