[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Log/ -> LoggerRegistry.php (summary)

Joomla! Content Management System

Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 98 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  getLoggerClass()
  hasLogger()
  register()

Functions
Functions that are not part of a class:

getLoggerClass(string $key)   X-Ref
Get the logger class for a given key

param: string  $key  The key to look up
return: string

hasLogger(string $key)   X-Ref
Check if the registry has a logger for the given key

param: string  $key  The key to look up
return: boolean

register(string $key, string $class, bool $replace = false)   X-Ref
Register a logger

param: string   $key      The service key to be registered
param: string   $class    The class name of the logger
param: boolean  $replace  Flag indicating the service key may replace an existing definition
return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer