From f96ceb517d6b02623c3f9c06166c033bbbf9099c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Wed, 30 Oct 2013 10:34:48 +0100 Subject: [PATCH] Remove unused `Logger#_mkRecord` --- lib/bunyan.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lib/bunyan.js b/lib/bunyan.js index 5e651c2..407cadc 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -702,21 +702,6 @@ Logger.prototype._applySerializers = function (fields, excludeFields) { } -/** - * A log record is a 4-tuple: - * [, - * , - * , - * ] - * 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. *