@mmstudio/an000042
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

配置anylogger-log4js

配置anylogger

配置文件 log4js.json

{
	"appenders": {
		"console": {
			"type": "console"
		},
		"DAILYFILE": {
			"type": "dateFile",
			"filename": "./logs/mm.log",
			"pattern": ".yyyy-MM-dd-hh",
			"alwaysIncludePattern": false,
			"daysToKeep": 13,
			"maxLogSize": 20971520,
			"keepFileExt": true
		}
	},
	"categories": {
		"default": {
			"appenders": [
				"DAILYFILE",
				"console"
			],
			"level": "DEBUG"
		}
	}
}

Package Sidebar

Install

npm i @mmstudio/an000042

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.03 kB

Total Files

7

Last publish

Collaborators

  • taoqf