UNPKG

@progress/sitefinity-nextjs-sdk

Version:

Provides OOB widgets developed using the Next.js framework, which includes an abstraction layer for Sitefinity communication. Additionally, it offers an expanded API, typings, and tools for further development and integration.

20 lines (19 loc) 554 B
export class Tracer { static startTrace(key, fn) { return fn(undefined); } static startSpan(key, createContext = false, currentContext) { return { span: undefined, ctx: undefined }; } static traceWidget(widgetContext, createContext = false) { return this.startSpan(widgetContext.model.Name, createContext, widgetContext.traceContext); } static endSpan(span) { return null; } static withContext(fn, ctx) { return fn(); } static logEvent(name, attributes, span) { } }