LogEntry

Monster.Logging. LogEntry

you can call the method via the monster namespace new Monster.Logging.LogEntry().

<script type="module">
import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.0/dist/monster.js';
console.log(new Monster.Logging.LogEntry())
</script>

Alternatively, you can also integrate this function individually.

<script type="module">
import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.30.0/dist/modules/logging/logentry.js';
console.log(new LogEntry())
</script>

Constructor

# new LogEntry(loglevel, …args)

Parameters:
Name Type Attributes Description
loglevel Integer
args * <repeatable>
Since:
  • 1.5.0

Methods

# getArguments() → {array}

Returns:
Type
array

# getLogLevel() → {integerr}

Returns:
Type
integerr