Phaser API Documentation

  Version: 

Member of: Phaser.Core

<static> DebugHeader(game)

Description:

Called automatically by Phaser.Game and responsible for creating the console.log debug header.

You can customize or disable the header via the Game Config object.

Parameters:

name type description
game Phaser.Game

The Phaser.Game instance which will output this debug header.

Examples:
Since: 3.0.0
Source: src/core/DebugHeader.js (Line 9)