ComponentLog

Documentation for the ComponentLog wrapper class used to structure and transmit log data from Lightning Web Components.

Wrapper class for passing log data from LWC components.

Properties:

@AuraEnabled public String level              // Log level (defaults to INFO)
@AuraEnabled public String category           // Log category (defaults to LWC)
@AuraEnabled public String type               // Log type
@AuraEnabled public String area               // Functional area
@AuraEnabled public String summary            // Log summary
@AuraEnabled public String details            // Log details
@AuraEnabled public String transactionId      // Transaction identifier
@AuraEnabled public Component componentInfo    // Component context information
@AuraEnabled public Decimal duration          // Operation duration
@AuraEnabled public Decimal createdTimestamp  // Log creation timestamp
@AuraEnabled public Error error               // Error information
@AuraEnabled public String stack              // Stack trace
@AuraEnabled public String userId             // User identifier
@AuraEnabled public RuntimeInfo runtimeInfo   // Runtime context information
@AuraEnabled public List<String> relatedObjectIds  // Related record IDs

Last updated