> For the complete documentation index, see [llms.txt](https://triton.pharos.ai/pharos-triton/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://triton.pharos.ai/pharos-triton/methods-reference/apex-methods-reference/tritontypes.md).

# TritonTypes

## Enums

### Area

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

```apex
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.

```apex
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.

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

### Type

Provides more specific technical classification of log entries.

```apex
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.
