feat(gaurds): use better smartguards to verify action authorization
This commit is contained in:
16
ts/logger.ts
Normal file
16
ts/logger.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import * as plugins from './plugins.js';
|
||||
import * as paths from './paths.js';
|
||||
|
||||
export const logger = new plugins.smartlog.Smartlog({
|
||||
logContext: {
|
||||
company: null,
|
||||
environment: null,
|
||||
runtime: null,
|
||||
zone: null,
|
||||
companyunit: null,
|
||||
containerName: null,
|
||||
}
|
||||
});
|
||||
logger.enableConsole({
|
||||
captureAll: false
|
||||
});
|
Reference in New Issue
Block a user