The Winston bundle adds the essential logging service to your Kolaz application.
This version of Winston bundle requires Kolaz 0.1.1.
npm install kolaz-bundle-winstonimport { WinstonLogger } from "kolaz-bundle-winston";
export class App extends BaseKernel {
registerBundles() {
return [
// ...
new WinstonLogger()
// ...
];
}
}
{
// ...
"log": {
"console": {
"level": "debug",
"silent": false
},
"sumologic": {
"level": "info",
"silent": true, // Set this value to false to enable SumoLogic transport
"ssl": true,
"host": "<HOST>",
"path": "<PATH>"
},
"logentries": {
"level": "info",
"silent": true, // Set this value to false to enable LogEntries transport
"ssl": true,
"host": "<HOST>",
"path": "<PATH>"
}
}
// ...
}