1.0.6 • Published 2 months ago
@amplication/plugin-logger-json v1.0.6
plugin-logger-json
Purpose
This plugins allows to log in a JSON format rather than less common string NestJS format.
Configuration
You can configure the logger plugin in the following ways:
logLevel
: The level of messages to log. Possible values are 'fatal' , 'error' , 'warn' , 'info' , 'debug' , 'trace' or 'silent'.additionalLogProperties
: A dictionary of the extra properties that you want to add with each log messages.
Example:
{
"logLevel": "INFO",
"additionalLogProperties": {
"someKey": "someValue"
}
}
Usage
- Enable the plugin in your Amplication app.
By enabling this plugin, a new folder named logger
is added to your server/src/
directory which contains all the files for the logger configuration.
Scripts
build
Running npm run build
will bundle your plugin with Webpack for production.
dev
Running npm run dev
will watch your plugin's source code and automatically bundle it with every change.
1.0.9-beta.pr-354.1e83d71
2 months ago
1.0.9-beta.pr-354.31d30ce
2 months ago
1.0.8
2 months ago
1.0.7
2 months ago
1.0.6
2 months ago
1.0.5
4 months ago
1.0.2
4 months ago
1.0.3
4 months ago
1.0.1
5 months ago
1.0.1-beta.pr-297.80f0b66
5 months ago
1.0.0
5 months ago