How to use the prototype function from bunyan

Find comprehensive JavaScript bunyan.prototype code examples handpicked from public code repositorys.

74
75
76
77
78
79
80
81
82
83
// log arguments.
this._emit = function (record, noemit) {
  // No need to call CategoryLogger's _emit here because we already know
  // that we want to log (we have already checked our category against
  // the config) and we will attach category to the record.
  return Logger.prototype._emit.call(
    this,
    {
      ...record,
      category,
fork icon1
star icon0
watch icon13