File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,13 @@ const setup = (config) => {
100
100
appendersLoading . clear ( ) ;
101
101
const usedAppenders = [ ] ;
102
102
Object . values ( config . categories ) . forEach ( category => {
103
- usedAppenders . push ( ...category . appenders )
103
+ usedAppenders . push ( ...category . appenders ) ;
104
104
} ) ;
105
105
Object . keys ( config . appenders ) . forEach ( ( name ) => {
106
106
// dodgy hard-coding of special case for tcp-server and multiprocess which may not have
107
107
// any categories associated with it, but needs to be started up anyway
108
- if ( usedAppenders . includes ( name ) || config . appenders [ name ] . type === 'tcp-server' || config . appenders [ name ] . type === 'multiprocess' ) {
108
+ if ( usedAppenders . includes ( name ) || config . appenders [ name ] . type === 'tcp-server'
109
+ || config . appenders [ name ] . type === 'multiprocess' ) {
109
110
getAppender ( name , config ) ;
110
111
}
111
112
} ) ;
You can’t perform that action at this time.
0 commit comments