Structure for formats impl

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2019-06-09 20:56:51 -03:00
parent a24954514a
commit 7e2d11fcdd
1 changed files with 0 additions and 14 deletions

View File

@ -1,14 +0,0 @@
function JSONFormatter(){
}
JSONFormatter.prototype.format = function(payload){
return payload;
};
JSONFormatter.prototype.toString = function(payload){
return JSON.stringify(payload);
};
module.exports = JSONFormatter;