Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
vonage
/
client-core
/
src
/
Logger
Location:
/home/zoteqbgb/public_html/vendor/vonage/client-core/src/Logger
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: LoggerTrait.php
<?php namespace Vonage\Logger; use Psr\Log\LoggerInterface; trait LoggerTrait { /** * @var LoggerInterface */ protected $logger; public function getLogger(): ?LoggerInterface { return $this->logger; } /** * @param string|int $level Level of message that we are logging * @param array<mixed> $context Additional information for context */ public function log($level, string $message, array $context = []): void { $logger = $this->getLogger(); if ($logger) { $logger->log($level, $message, $context); } } public function setLogger(LoggerInterface $logger) { $this->logger = $logger; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
LoggerAwareInterface.php
476 bytes
0644
2023-10-02 14:26
âï¸
ðï¸
Rename
LoggerTrait.php
716 bytes
0644
2023-10-02 14:26
âï¸
ðï¸
Rename
Chang
Apply