β‘LWC and Apex
In this article we'll describe the process for logging in LWC in conjunction with Apex. We will examine how Triton associates two different types of logs together under a single umbrella.
LWC Component
<template>
....
<lightning-button
variant="brand"
label="DML Error"
title="DML Error"
onclick={handleClick}
class="slds-m-left_x-small">
</lightning-button>
....
</template>
LWC Controller
Apex Controller
The Result
Last updated