18 lines
524 B
TypeScript
18 lines
524 B
TypeScript
|
import * as smartlog from '@push.rocks/smartlog';
|
||
|
import { SmartlogDestinationDevtools } from '@push.rocks/smartlog-destination-devtools';
|
||
|
|
||
|
export const logger = new smartlog.Smartlog({
|
||
|
logContext: {
|
||
|
company: 'Lossless GmbH',
|
||
|
companyunit: 'Lossless Cloud',
|
||
|
containerName: 'web',
|
||
|
environment: 'production',
|
||
|
runtime: 'chrome',
|
||
|
zone: 'servezone'
|
||
|
},
|
||
|
minimumLogLevel: 'info'
|
||
|
});
|
||
|
|
||
|
logger.addLogDestination(new SmartlogDestinationDevtools());
|
||
|
logger.log('note', 'serviceworker console initialized!');
|