# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://triton.pharos.ai/pharos-triton/methods-reference/apex-methods-reference/tritontypes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
