Pharos Triton
  • 🔱About Pharos Triton
  • 🏁Installing Pharos Triton
  • Apex Logging Basics
  • Common Apex Usage Patters
    • Batch Logging
    • Integration Logs
    • Apex Rest Logging
    • Full Control with TritonBuilder
  • Beyond Apex
    • LWC
    • 🔄LWC Transaction Management
    • ⚡LWC and Apex
    • 💾Platform Cache for Transactions
    • Flows
    • 〰️LWC, Apex and Flows
  • 📖Methods Reference
    • 📔Apex
      • Triton
      • TritonBuilder
      • TritonTypes
      • TritonLwc
        • ComponentLog
        • Component
        • Error
        • RuntimeInfo
      • TritonFlow
        • FlowLog
      • TritonHelper
        • PostProcessingControlsBuilder
      • LogBuilder
    • LWC
      • Triton
      • TritonBuilder
      • TritonUtils
  • Help and Support
Powered by GitBook
On this page
  1. Methods Reference
  2. Apex
  3. TritonLwc

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
PreviousTritonLwcNextComponent

Last updated 2 months ago

📖
📔