Change spaces by tabs
Keeping constitency with the rest of the code.
This commit is contained in:
parent
0571089a8b
commit
93695fbfc4
@ -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(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user