Files

20 lines
547 B
TypeScript
Raw Permalink Normal View History

import * as plugins from './plugins.js';
/**
* Module-scoped Smartlog singleton. Users may pass their own logger via
* `ISmartMigrationOptions.logger` to override this default.
*/
export const logger = new plugins.smartlog.Smartlog({
logContext: {
company: 'Lossless GmbH',
companyunit: 'push.rocks',
containerName: 'smartmigration',
environment: 'production',
runtime: 'node',
zone: 'pushrocks',
},
minimumLogLevel: 'info',
});
logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal());