Remove unused Logger#_mkRecord

This commit is contained in:
Maciej Małecki 2013-10-30 10:34:48 +01:00
parent 06ade787dc
commit f96ceb517d

View file

@ -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.
* *