Options
All
  • Public
  • Public/Protected
  • All
Menu

A Console API like class for logging in a GDevelop game.

Hierarchy

  • Logger

Index

Constructors

  • new Logger(group: string): Logger
  • Create a new logger with the given group name. You can then use log, info, warn and error on this object.

    Parameters

    • group: string

    Returns Logger

Methods

  • error(...messages: any[]): void
  • getDefaultConsoleLoggerOutput(): ConsoleLoggerOutput
  • Give access to the console output used by default by the logger. This can be useful to restore the default log method if you overrode it or to disable some logging in the console.

    Returns ConsoleLoggerOutput

  • info(...messages: any[]): void
  • log(...messages: any[]): void
  • warn(...messages: any[]): void

Properties

group: string

Generated using TypeDoc