Logger.Stream Class
Description
Logger stream.
This is an abstract class. Every logger stream should inherit this class and implement _write
method. For example:
var CustomStream = function(logger, options){ Stream.apply(this, arguments);};CustomStream.prototype.__proto__ = Stream.prototype;CustomStream.prototype._write = function(data){ //};
Constructor
Logger.Stream
(logger, options)Logger stream.
This is an abstract class. Every logger stream should inherit this class and implement _write
method. For example:
var CustomStream = function(logger, options){ Stream.apply(this, arguments);};CustomStream.prototype.__proto__ = Stream.prototype;CustomStream.prototype._write = function(data){ //};
Parameters
Methods
Properties
hide
Hide level.