HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - RainwayEvents.log()

Home > @rainway/web > RainwayEvents > log

RainwayEvents.log() method

Raised when a Rainway SDK component attempts to log operational information

Signature:

log(level: LogLevel, target: string, message: string): void | Promise<void>;

Parameters

ParameterTypeDescription
levelLogLevelthe level of the message
targetstringthe target component that emitted the message
messagestringthe message contents

Returns:

void | Promise<void>