Function: LlamaLogLevelGreaterThan()
ts
function LlamaLogLevelGreaterThan(a: LlamaLogLevel, b: LlamaLogLevel): boolean;Defined in: bindings/types.ts:126
Check if a log level is higher than another log level
Parameters
| Parameter | Type |
|---|---|
a | LlamaLogLevel |
b | LlamaLogLevel |
Returns
boolean
Example
ts
LlamaLogLevelGreaterThan(LlamaLogLevel.error, LlamaLogLevel.info); // true