'use strict'; var log4js = require('log4js'); var logger = log4js.getLogger('cheese'); if (logger.log) { console.log('ok'); }