Skip to main content

foundation-notifications.getloglevel

Home > @genesislcap/foundation-notifications > getLoglevel

getLoglevel() function

Retrieves the log level from an NotificationStructure object

Signature:

getLoglevel: (details: NotificationStructure) => LogLevel

Parameters

Parameter

Type

Description

details

NotificationStructure

The NotificationStructure object

Returns:

LogLevel

The log level or the default value (LogLevel.Debug) if not present