MCPcopy Index your code
hub / github.com/OneNoteDev/WebClipper / logEvent

Method logEvent

src/scripts/logging/consoleLoggerPure.ts:15–18  ·  view source on GitHub ↗
(event: Log.Event.BaseEvent)

Source from the content-addressed store, hash-verified

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);

Callers 15

getPatchWithLoggingMethod · 0.45
getPageWithLoggingMethod · 0.45
getBatchWithLoggingMethod · 0.45
logPdfClipOptionsMethod · 0.45
logPdfByteMetadataMethod · 0.45
logRegionClipMethod · 0.45
logAugmentationClipMethod · 0.45
logSelectionClipMethod · 0.45
executeWithLoggingMethod · 0.45
outputEventMethod · 0.45

Calls 1

logToConsoleMethod · 0.80

Tested by

no test coverage detected