Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Manu Nair committed Dec 13, 2024
1 parent f937505 commit 8a158ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/clarity-js/src/core/measure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function (method: Function): Function {
if (duration > config.longTask) {
metric.count(Metric.LongTaskCount);
metric.max(Metric.ThreadBlockedTime, duration);
internal.log(Code.FunctionExecutionTime, Severity.Info, `${method.displayName || method.name}-${duration}`);
internal.log(Code.FunctionExecutionTime, Severity.Info, `${method.dn || method.name}-${duration}`);
}
};
}

0 comments on commit 8a158ca

Please sign in to comment.