Skip to content

Log

Wraith’s log, under the plugin’s name.

Get it with Api.log().

err(message: string): void
warn(message: string): void
info(message: string): void
debug(message: string): void
write(level: Wraith.Log.Level | Wraith.Log.LevelName, scope: string, message: string): void
enabled(level: Wraith.Log.Level | Wraith.Log.LevelName): boolean

Under the plugin’s name and scope, like kai_bones.camera

Uses Log.Level.

Whether that level’s being logged, to skip building messages nobody sees.

Uses Log.Level.

An enum of u8.

Value Name
0 err
1 warn
2 info
3 debug
4 trace

Made with ♥ by Asgard