@ppzero/logger
v1.0.4
Published
Backend logger
Downloads
2
Readme
Instalation
- `npm install @ppzero/logger`
- `yarn add @ppzero/logger`
Usage example
import { LoggerInstance, LoggerManager } from '@ppzero/logger';
const loggerInstance = new LoggerInstance(
{
destination: pino.destination({ sync: false }),
},
{
environment: 'test',
project: 'test',
version: 'test',
},
);
const loggerManager = new LoggerManager({
loggerInstances: [loggerInstance],
});
Vscode settings.json
{
"editor.formatOnSave": true,
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
]
}
Commit message build triggers
| Commit message | Release type |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------|
| fix(pencil): stop graphite breaking when too much pressure applied
| Patch Release |
| feat(pencil): add 'graphiteWidth' option
| ~~Minor~~ Feature Release |
| perf(pencil): remove graphiteWidth option
BREAKING CHANGE: The graphiteWidth option has been removed.
The default graphite width of 10mm is always used for performance reasons.
| ~~Major~~ Breaking Release |