Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7432245
StderrLogger.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
592 B
Referenced Files
None
Subscribers
None
StderrLogger.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Phan\Library
;
use
Psr\Log\LoggerInterface
;
use
Psr\Log\LoggerTrait
;
/**
* A PSR-3 logger for the composer Xdebug handler
*/
class
StderrLogger
implements
LoggerInterface
{
use
LoggerTrait
;
/**
* @param string $level
* @param string $message
* @param array<string,mixed> $context @unused-param
* @override
*/
public
function
log
(
$level
,
$message
,
array
$context
=
[]):
void
{
// @phan-suppress-next-line PhanPluginRemoveDebugCall
\fprintf
(
\STDERR
,
"[%s] %s
\n
"
,
$level
,
$message
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 11:19 (5 h, 44 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
33/b7/d3ce03bb08d0faa9c92019df0884
Default Alt Text
StderrLogger.php (592 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment