Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ILoggerWithUuid

interface ILoggerWithUuid
Extends ILoggingConfiguration logging with uuid

Methods

logWithUuid()

void logWithUuid(LogLevel level, string message, IError? associatedError, Uuid? uuid)
Emit a log message with uuid.

Parameters

level
LogLevel — Required Severity level
message
string — Required log message
associatedError
IError? — Optional if present, error objects
uuid
Uuid? — Optional if present, Uuid of some event

isEnabledWithUuid()

bool isEnabledWithUuid(LogLevel level, Uuid? uuid)
Check if this severity level enabled with Uuid.

Parameters

level
LogLevel — Required Severity level
uuid
Uuid? — Optional if present, represents Uuid of some event

Returns

bool whether logging is enabled for this level
Last modified on October 29, 2026