Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100533648
PhabricatorBotDebugLogHandler.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 31, 12:51
Size
365 B
Mime Type
text/x-php
Expires
Sun, Feb 2, 12:51 (2 d)
Engine
blob
Format
Raw Data
Handle
23985845
Attached To
rPH Phabricator
PhabricatorBotDebugLogHandler.php
View Options
<?php
/**
* Logs messages to stdout
*/
final
class
PhabricatorBotDebugLogHandler
extends
PhabricatorBotHandler
{
public
function
receiveMessage
(
PhabricatorBotMessage
$message
)
{
switch
(
$message
->
getCommand
())
{
case
'LOG'
:
echo
addcslashes
(
$message
->
getRawData
(),
"
\0
..
\3
7
\1
77..
\3
77"
);
echo
"
\n
"
;
break
;
}
}
}
Event Timeline
Log In to Comment