How to use the json function from log4js

Find comprehensive JavaScript log4js.json code examples handpicked from public code repositorys.

107
108
109
110
111
112
113
114
115
116
    }
};

/**
 * Configure the logger.
 * Configure file just like log4js.json. And support ${scope:arg-name} format property setting.
 * It can replace the placeholder in runtime.
 * scope can be:
 *     env: environment letiables, such as: env:PATH
 *     args: command line arguments, such as: args:1
fork icon0
star icon0
watch icon2