Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F435727
PhabricatorBotDebugLogHandler.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
363 B
Referenced Files
None
Subscribers
None
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
->
getBody
(),
"
\0
..
\3
7
\1
77..
\3
77"
);
echo
"
\n
"
;
break
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 3, 8:58 PM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
58079
Default Alt Text
PhabricatorBotDebugLogHandler.php (363 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment