Change spaces by tabs

Keeping constitency with the rest of the code.
This commit is contained in:
Grégoire Charvet 黑瓜 2014-08-18 07:31:33 +08:00 committed by Jethro
parent 0571089a8b
commit 93695fbfc4

View File

@ -21,14 +21,14 @@ function logglyAppender(config, layout) {
if(!layout) layout = passThrough; if(!layout) layout = passThrough;
return function(loggingEvent) { return function(loggingEvent) {
console.log('logging ', loggingEvent); console.log('logging ', loggingEvent);
var msg = layout(loggingEvent); var msg = layout(loggingEvent);
client.log({ client.log({
msg: msg, msg: msg,
level: loggingEvent.level.levelStr, level: loggingEvent.level.levelStr,
category: loggingEvent.categoryName, category: loggingEvent.categoryName,
hostname: os.hostname().toString(), hostname: os.hostname().toString(),
}); });
} }
} }