src/Dev/Debug.php
public static function message($message, $showHeader = true, HTTPRequest $request = null)
    {
        // Don't show on live
        if (Director::isLive()) {
            return;
        }

        echo static::create_debug_view($request)
            ->renderMessage($message, static::caller(), $showHeader);
    }
public static function message($message, $showHeader = true, HTTPRequest $request = null)
    {
        // Don't show on live
        if (Director::isLive()) {
            return;
        }

        echo static::create_debug_view($request)
            ->renderMessage($message, static::caller(), $showHeader);
    }
public static function message ( $ message , $ showHeader = true , HTTPRequest $ request = null ) { // Don't show on live if ( Director :: isLive ( ) ) { return ; } echo static :: create_debug_view ( $ request ) -> renderMessage ( $ message , static :: caller ( ) , $ showHeader ) ; }
Show a debugging message.
Does not work on live mode

@param string $message
@param bool $showHeader
@param HTTPRequest|null $request
Show a debugging message . Does not work on live mode