functions.php
SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors SPDX-License-Identifier: AGPL-3.0-or-later
Table of Contents
Functions
- logger() : LoggerInterface
- Get a PSR logger
Functions
logger()
Get a PSR logger
logger([string|null $appId = null ]) : LoggerInterface
Whenever possible, inject a logger into your classes instead of relying on this helper function.
Parameters
- $appId : string|null = null
-
optional parameter to acquire the app-specific logger