Log constructor

Log(
  1. dynamic msg, {
  2. Entity? to,
  3. String? desc,
  4. Color color = Color.DarkAqua,
})

The log widgets displays a console logging in the players chat. That way you can quickly check execution times, score values and entities.

Implementation

Log(this.msg, {this.to, this.desc, this.color = Color.DarkAqua})
    : _type = _LogType.CONSOLE {
  to ??= Entity.All();
}