log

View sourcelog(message: string): void

Writes message to console.log with the engine log prefix.

The call receives exactly 🚀Chaos Engine:\n\n followed by message as its single argument. The function returns undefined.

Examples

log('Loading the game.')
// console.log('🚀Chaos Engine:\n\nLoading the game.')

Parameters

NameDescriptionDefault
message

Message to write.

—