Overview

Namespaces

  • Nethgui
    • Adapter
    • Authorization
    • Component
    • Controller
      • Collection
      • Table
    • Exception
    • Log
    • Model
    • Module
      • Help
      • Notification
    • Renderer
    • Serializer
    • System
    • Test
      • Tool
      • Unit
        • Nethgui
          • Adapter
            • ParameterSet
          • Authorization
          • Log
          • Module
            • Notification
          • Renderer
          • Serializer
          • System
          • Utility
          • View
        • Test
          • Tool
    • Utility
    • View
    • Widget
      • Xhtml
  • None
  • Test
    • Tool

Classes

  • AbstractLog
  • Nullog
  • Syslog

Interfaces

  • LogConsumerInterface
  • LogInterface
  • Overview
  • Namespace
  • Class
  • Deprecated

Interface LogInterface

The generic log operations

Direct known implementers

Nethgui\Log\AbstractLog

Indirect known implementers

Nethgui\Log\Nullog, Nethgui\Log\Syslog
Namespace: Nethgui\Log
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Api
Located at Log/LogInterface.php
Methods summary
public Nethgui\Log\LogInterface
# setLevel( $level )

Change log details level

Change log details level

Returns

Nethgui\Log\LogInterface

Api

public integer
# getLevel( )

Log details level

Log details level

It's a bitmask of E_ERROR , E_WARNING, E_NOTICE

Returns

integer

Api

public Nethgui\Log\LogInterface
# exception( Exception $ex, boolean $stackTrace = FALSE )

Parameters

$ex
The exception to be printed
$stackTrace
Whether to print the stack trace or not

Returns

Nethgui\Log\LogInterface

Api

public Nethgui\Log\LogInterface
# notice( string $message )

Parameters

$message
The message to be printed

Returns

Nethgui\Log\LogInterface

Api

public Nethgui\Log\LogInterface
# error( string $message )

Parameters

$message
The message to be printed

Returns

Nethgui\Log\LogInterface

Api

public Nethgui\Log\LogInterface
# warning( string $message )

Parameters

$message
The message to be printed

Returns

Nethgui\Log\LogInterface

Api

Nethgui Framework API documentation generated by ApiGen