StaticclearClear all tracked operations (useful for cleanup).
StaticcreateCreate enhanced SDK handlers with comprehensive logging and error handling.
SDKHandlers with beforeCall, afterCall, and onError implementations
Private StaticfindFind the most recent operation for a given method name.
Name of the SDK method to find
Operation data if found, undefined otherwise
Private StaticgetRoute SDK method to appropriate logger based on method name. Returns a no-op logger if ServiceLoggers is not yet initialized.
Name of the SDK method
Logger instance for the method category
StaticgetGet current operation statistics for debugging.
Private StatichandleHandle SDK errors with smart categorization and user-friendly responses.
Name of the SDK method that failed
Error object thrown by the method
Logger instance for error reporting
Private StaticisCheck if an error is network-related.
Error object to check
True if error is network-related, false otherwise
Private StaticsanitizeSanitize arguments to remove sensitive data before logging.
Raw arguments passed to SDK method
Sanitized arguments safe for logging
Private StaticsummarizeCreate a summary of the result for logging without exposing sensitive data.
Result returned from SDK method
Human-readable summary of the result
Enhanced tracking and logging for DatalayerClient SDK operations. Provides operation correlation, timing, error categorization, and user-friendly handling.