This is a lightweight log4js tool.
If you want to get more support, you can refer to log4js
let logger = Log4js.getLogger()
logger.debug('this is a test')
logger.info('this is a test')
logger.warn('this is a test')
logger.error('this is a test')
logger.fatal('this is a test')