(event: Log.Event.BaseEvent)
| 13 | } |
| 14 | |
| 15 | public logEvent(event: Log.Event.BaseEvent): void { |
| 16 | let logEvent: { [key: string]: string | number | boolean } = LogHelpers.createLogEventAsJson(event); |
| 17 | this.consoleShell.logToConsole(logEvent); |
| 18 | } |
| 19 | |
| 20 | public logFailure(label: Log.Failure.Label, failureType: Log.Failure.Type, failureInfo?: OneNoteApi.GenericError, id?: string): void { |
| 21 | let failureEvent: { [key: string]: string } = LogHelpers.createFailureEventAsJson(label, failureType, failureInfo, id); |
no test coverage detected