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

  • Bar
  • BlueScreen
  • Debugger
  • Dumper
  • FireLogger
  • Helpers
  • Logger
  • OutputDebugger

Interfaces

  • IBarPanel
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class Logger

Logger.

Namespace: Tracy
Author: David Grudl
Located at Tracy/Logger.php
Methods summary
public
# log( string|array $message, integer $priority = NULL )

Logs message or exception to file and sends email notification.

Logs message or exception to file and sends email notification.

Parameters

$message
string|array
$priority
integer
one of constant Debugger::INFO, WARNING, ERROR (sends email), EXCEPTION (sends email), CRITICAL (sends email)
Constants summary
string DEBUG 'debug'
#
string INFO 'info'
#
string WARNING 'warning'
#
string ERROR 'error'
#
string EXCEPTION 'exception'
#
string CRITICAL 'critical'
#
Properties summary
public integer $emailSnooze 172800
#

interval for sending email is 2 days

interval for sending email is 2 days

public callable $mailer array(__CLASS__, 'defaultMailer')
#

handler for sending emails

handler for sending emails

public string $directory
#

name of the directory where errors should be logged; FALSE means that logging is disabled

name of the directory where errors should be logged; FALSE means that logging is disabled

public string|array $email
#

email or emails to which send error notifications

email or emails to which send error notifications

Nette 2.2 API documentation generated by ApiGen 2.8.0