Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationLatte
      • ApplicationTracy
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsLatte
      • Framework
      • HttpTracy
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • none
  • Tracy

Classes

  • Debugger
  • Helpers

Interfaces

  • IBarPanel
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (http://nette.org)
 5:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 6:  */
 7: 
 8: namespace Nette\Diagnostics;
 9: 
10: use Nette,
11:     Tracy;
12: 
13: 
14: /**
15:  * @deprecated
16:  */
17: class Debugger extends Tracy\Debugger
18: {
19:     /** @deprecated */
20:     public static $consoleMode;
21: 
22:     /** @deprecated */
23:     public static $consoleColors;
24: 
25:     /** @deprecated @var BlueScreen*/
26:     public static $blueScreen;
27: 
28:     /** @deprecated @var Logger */
29:     public static $logger;
30: 
31:     /** @deprecated @var FireLogger */
32:     public static $fireLogger;
33: 
34:     /** @deprecated @var Bar */
35:     public static $bar;
36: 
37: 
38:     /**
39:      * Enables displaying or logging errors and exceptions.
40:      * @param  mixed         production, development mode, autodetection or IP address(es) whitelist.
41:      * @param  string        error log directory; enables logging in production mode, FALSE means that logging is disabled
42:      * @param  string        administrator email; enables email sending in production mode
43:      * @return void
44:      */
45:     public static function enable($mode = NULL, $logDirectory = NULL, $email = NULL)
46:     {
47:         parent::enable($mode, $logDirectory, $email);
48:         self::$blueScreen = self::getBlueScreen();
49:         self::$bar = self::getBar();
50:         self::$logger = self::getLogger();
51:         self::$fireLogger = self::getFireLogger();
52:         self::$consoleColors = & Tracy\Dumper::$terminalColors;
53:     }
54: 
55: 
56:     public static function addPanel(IBarPanel $panel, $id = NULL)
57:     {
58:         return self::getBar()->addPanel($panel, $id);
59:     }
60: 
61: }
62: 
Nette 2.2.2 API API documentation generated by ApiGen 2.8.0