mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Merge branch 'master' of https://github.com/nomiddlename/log4js-node
This commit is contained in:
commit
ed06a8bf53
@ -249,7 +249,7 @@ function patternLayout(pattern, tokens, timezoneOffset) {
|
||||
}
|
||||
|
||||
function pid(loggingEvent) {
|
||||
return loggingEvent && loggingEvent.pid ? loggingEvent.pid : process.pid;
|
||||
return loggingEvent && loggingEvent.pid ? loggingEvent.pid.toString() : process.pid.toString();
|
||||
}
|
||||
|
||||
function clusterInfo(loggingEvent, specifier) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user