Log object acquisition and debug in JS

  • 2020-03-30 02:10:44
  • OfStack

Examples are as follows:

var log = new Logger('***.js')
if (log.isDebugEnabled()) {
                    log.debug('xxxxx');
                }

Related articles: