Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120542373
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
Sat, Jul 5, 02:56
Size
365 B
Mime Type
text/x-php
Expires
Mon, Jul 7, 02:56 (2 d)
Engine
blob
Format
Raw Data
Handle
27204332
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