ue.log

Write messages to the current script log.

Syntax

ue.log.debug(...)
ue.log.info(...)
ue.log.warn(...)
ue.log.error(...)

Levels

FunctionDescription
ue.log.debug(...)Diagnostic details.
ue.log.info(...)Normal status messages.
ue.log.warn(...)Recoverable problems.
ue.log.error(...)Failures requiring attention.

Example

ue.log.info("mod loaded")
ue.log.warn("player was not found")

Global print(...) is redirected to ue.log.info(...).

On this page