Oroboros Core
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Namespaces

  • None
  • oroboros
    • core
      • abstracts
        • adapters
        • bootstrap
        • controllers
        • libraries
          • auth
          • bootstrap
          • cache
          • codex
          • config
          • container
          • data
          • database
          • dns
          • entity
          • enum
          • error
          • event
          • extension
          • file
          • flags
          • hooks
          • job
          • logger
          • manager
          • message
          • prototype
          • request
          • response
          • routine
          • shell
          • startup
          • stream
          • template
          • uri
          • utility
          • validation
            • workers
          • worker
        • models
        • patterns
          • behavioral
          • creational
        • utilities
          • exception
            • cache
            • container
          • http
        • views
      • interfaces
        • adapters
          • interpreters
          • sdk
        • api
          • adapters
          • bootstrap
          • controllers
          • psr
        • contract
          • adapters
          • bootstrap
          • codex
          • components
          • controllers
          • data
          • entities
          • errors
          • events
          • extensions
          • jobs
          • libraries
            • auth
            • cache
            • config
            • container
            • enum
            • file
            • flags
            • hooks
            • module
            • promise
            • record
            • request
            • response
            • server
            • shutdown
            • site
            • stream
            • template
            • theme
            • uri
          • models
          • patterns
            • behavioral
            • concurrency
            • creational
            • structural
          • routes
          • routines
            • bootload
            • declarative
            • procedural
            • subsystem
          • services
            • consumer
              • cgi
              • rest
                • local
                • remote
                  • authenticated
                  • unauthenticated
            • provider
              • cgi
              • rest
                • local
                • remote
                  • authenticated
                  • unauthenticated
          • utilities
            • datetime
            • exception
              • cache
              • container
            • filebase
            • http
            • math
            • parser
            • regex
            • session
          • views
        • enumerated
          • environment
          • flags
          • http
          • views
        • libraries
          • manager
          • worker
      • libraries
        • api
        • codex
        • container
        • enum
          • http
        • file
        • hooks
        • logger
        • math
        • psr4
        • request
        • response
        • stream
        • uri
      • patterns
        • creational
      • traits
        • adapters
        • bootstrap
        • codex
        • components
        • controllers
        • data
        • entities
        • events
        • extensions
        • jobs
        • libraries
          • container
          • file
          • request
          • response
          • stream
          • uri
        • models
        • modules
        • patterns
          • behavioral
          • concurrency
          • creational
          • structural
        • routes
        • services
        • utilities
          • core
            • api
            • config
            • contract
              • contract
            • enum
            • environment
            • routines
          • datetime
          • error
          • exception
          • filebase
          • hooks
          • html
          • http
          • logic
          • math
          • parsers
          • regex
          • session
        • views
      • utilities
        • exception
          • cache
          • container
        • http
      • views
    • tests
      • patterns
        • creational
      • psr
        • psr7
      • utilities
        • exception
  • PasswordCompat
    • binary
  • PHP

Interfaces

  • AdapterApi
  • AuthApi
  • BaseApi
  • BehavioralPatternApi
  • BootstrapApi
  • CacheApi
  • ClassScopeApi
  • ClassTypeApi
  • CodexApi
  • CollectionApi
  • ConcurrencyPatternApi
  • ContainerApi
  • ControllerApi
  • CoreApi
  • CreationalPatternApi
  • DatabaseApi
  • DataObjectApi
  • DataObjectCollectionApi
  • DefaultApi
  • EntityApi
  • EntityCollectionApi
  • EnumApi
  • EnvironmentApi
  • EventApi
  • ExceptionApi
  • ExceptionCodeApi
  • ExceptionMessageApi
  • ExtensionrApi
  • FlagApi
  • HtmlTemplateApi
  • JobApi
  • JobCollectionApi
  • LibraryApi
  • LoggerApi
  • LogLevelApi
  • MathApi
  • ModelApi
  • ModuleApi
  • OroborosApi
  • ParserApi
  • PatternApi
  • RecordApi
  • RecordCollectionApi
  • RegexApi
  • RequestApi
  • ResponseApi
  • RouteApi
  • RouterApi
  • RoutineApi
  • ServerApi
  • ServiceApi
  • ServiceCollectionApi
  • ShellApi
  • StreamApi
  • StructuralPatternApi
  • TemplateApi
  • UtilityApi
  • ViewApi

Interface LoggerApi

Defines the standard methods for interacting with the logger. This follows the Psr-3 standards for logger objects

oroboros\core\interfaces\api\LoggerApi implements oroboros\OroborosInterface, oroboros\core\interfaces\api\EnvironmentApi, Psr\Log\LoggerInterface

Direct known implementers

oroboros\core\abstracts\libraries\logger\AbstractLogger

Indirect known implementers

oroboros\core\libraries\logger\FileLogger, oroboros\core\libraries\logger\NullLogger

Namespace: oroboros\core\interfaces\api
Author: Brian Dayhoff mopsyd@me.com
Located at core/interfaces/api/LoggerApi.php

Methods summary

public null
# emergency( string $message, array $context = array() )

System is unusable.

System is unusable.

Parameters

$message
$context

Returns

null
public null
# alert( string $message, array $context = array() )

Action must be taken immediately.

Action must be taken immediately.

Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.

Parameters

$message
$context

Returns

null
public null
# critical( string $message, array $context = array() )

Critical conditions.

Critical conditions.

Example: Application component unavailable, unexpected exception.

Parameters

$message
$context

Returns

null
public null
# error( string $message, array $context = array() )

Runtime errors that do not require immediate action but should typically be logged and monitored.

Runtime errors that do not require immediate action but should typically be logged and monitored.

Parameters

$message
$context

Returns

null
public null
# warning( string $message, array $context = array() )

Exceptional occurrences that are not errors.

Exceptional occurrences that are not errors.

Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.

Parameters

$message
$context

Returns

null
public null
# notice( string $message, array $context = array() )

Normal but significant events.

Normal but significant events.

Parameters

$message
$context

Returns

null
public null
# info( string $message, array $context = array() )

Interesting events.

Interesting events.

Example: User logs in, SQL logs.

Parameters

$message
$context

Returns

null
public null
# debug( string $message, array $context = array() )

Detailed debug information.

Detailed debug information.

Parameters

$message
$context

Returns

null
public null
# log( mixed $level, string $message, array $context = array() )

Logs with an arbitrary level.

Logs with an arbitrary level.

Parameters

$level
$message
$context

Returns

null

Constants summary

string CLASS_TYPE
# \oroboros\core\interfaces\api\ClassTypeApi::CLASS_TYPE_UTILITY

Constants inherited from oroboros\OroborosInterface

OROBOROS_VENDOR_NAMESPACE, OROBOROS_VERSION

Oroboros Core API documentation generated by ApiGen