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
  • Enums
  • Area
  • Category
  • Level
  • Type
  1. Methods Reference
  2. Apex

TritonTypes

This article covers the enums and constants used throughout the Triton logging framework.

Enums

Area

Represents the functional area from a business perspective. This value is written to the Functional Area field.

public enum Area {
    OpportunityManagement,
    LeadConversion,
    Community,
    RestAPI,
    Accounts,
    LWC,
    Flow
}

These values should represent functional areas from a business perspective (e.g., DealRegistration, PartnerCommunity, CustomPipelineUI).

Category

Provides general classification of log entries at a high level.

public enum Category {
    Apex,
    Flow,
    LWC,
    Aura,
    Warning,
    Event,
    Debug,
    Integration
}

These values reflect what kind of log entry they represent at a high level.

Level

Defines log severity levels, listed from least verbose to most verbose.

public enum Level {
    ERROR,
    WARNING,
    INFO,
    DEBUG,
    FINE,
    FINER,
    FINEST
}

Type

Provides more specific technical classification of log entries.

public enum Type {
    Backend,
    Frontend,
    DMLResult,
    LongRunningRequest,
    ConcurrentRequestsLimit,
    AccountTrigger
}

When an Exception is provided, the logging methods will use the Exception type. If no type is specified for exceptions, Backend is used as default.

PreviousTritonBuilderNextTritonLwc

Last updated 2 months ago

📖
📔