Merge pull request #107 from mmalecki/remove-unused-_mkRecord
Remove unused `Logger#_mkRecord`
This commit is contained in:
commit
7f43aac658
1 changed files with 0 additions and 15 deletions
|
@ -702,21 +702,6 @@ Logger.prototype._applySerializers = function (fields, excludeFields) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A log record is a 4-tuple:
|
|
||||||
* [<default fields object>,
|
|
||||||
* <log record fields object>,
|
|
||||||
* <level integer>,
|
|
||||||
* <msg args array>]
|
|
||||||
* For Perf reasons, we only render this down to a single object when
|
|
||||||
* it is emitted.
|
|
||||||
*/
|
|
||||||
Logger.prototype._mkRecord = function (fields, level, msgArgs) {
|
|
||||||
var recFields = (fields ? objCopy(fields) : null);
|
|
||||||
return [this.fields, recFields, level, msgArgs];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Emit a log record.
|
* Emit a log record.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue