File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import { determineAppMode , AppMode } from './config' ;
22import * as enclavedApp from './enclavedApp' ;
33import * as masterExpressApp from './masterExpressApp' ;
4+ import logger from './logger' ;
45
56/**
67 * Main application entry point that determines the mode and starts the appropriate app
@@ -9,10 +10,10 @@ export async function init(): Promise<void> {
910 const appMode = determineAppMode ( ) ;
1011
1112 if ( appMode === AppMode . ENCLAVED ) {
12- console . log ( 'Starting in Enclaved mode...' ) ;
13+ logger . info ( 'Starting in Enclaved mode...' ) ;
1314 await enclavedApp . init ( ) ;
1415 } else if ( appMode === AppMode . MASTER_EXPRESS ) {
15- console . log ( 'Starting in Master Express mode...' ) ;
16+ logger . info ( 'Starting in Master Express mode...' ) ;
1617 await masterExpressApp . init ( ) ;
1718 } else {
1819 throw new Error ( `Unknown app mode: ${ appMode } ` ) ;
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ export class KmsClient {
2323 }
2424
2525 async postKey ( params : PostKeyParams ) : Promise < PostKeyResponse > {
26- console . log ( 'postKey' , params ) ;
2726 debugLogger ( 'Posting key to KMS: %O' , params ) ;
2827
2928 let kmsResponse : any ;
You can’t perform that action at this time.
0 commit comments