UNPKG

kibana-123

Version:

Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic

22 lines (14 loc) 301 B
import moment from 'moment'; import util from 'util'; import { config } from '../index'; class Log { log(...args) { console.log(moment().format('HH:mm:ss.SSS') + ':', util.format(...args)); } debug(...args) { if (config.debug) this.log(...args); } } export default new Log();