From b9e3a0d3cb3a42414a9094b8edb0e9cc8e4dacdc Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Sat, 17 Jan 2015 21:56:46 -0800 Subject: [PATCH] export 'bunyan.RotatingFileStream' --- CHANGES.md | 3 +++ lib/bunyan.js | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 5eab482..8a923d4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,6 +8,9 @@ Known issues: ## bunyan 1.3.1 (not yet released) +- Export `bunyan.RotatingFileStream` which is needed if one wants to + customize it. E.g. see issue #194. + - [pull #122] Source Map support for caller line position for [the "src" field](https://github.com/trentm/node-bunyan#src). This could be interesting for [CoffeeScript](http://coffeescript.org/documentation/docs/sourcemap.html) diff --git a/lib/bunyan.js b/lib/bunyan.js index 51c7521..1329621 100644 --- a/lib/bunyan.js +++ b/lib/bunyan.js @@ -1394,6 +1394,7 @@ module.exports.createLogger = function createLogger(options) { }; module.exports.RingBuffer = RingBuffer; +module.exports.RotatingFileStream = RotatingFileStream; // Useful for custom `type == 'raw'` streams that may do JSON stringification // of log records themselves. Usage: