/usr/share/php/Analog/Handler/Null.php is in php-analog 1.0.7-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | <?php
namespace Analog\Handler;
/**
* Note: Deprecated because Null is a reserved word in PHP7.
* Please use Analog\Handler\Ignore instead.
*
* Ignores anything sent to it so you can disable logging.
*
* Usage:
*
* Analog::handler (Analog\Handler\Null::init ());
*
* Analog::log ('Log me');
*/
class Null {
public static function init () {
return function ($info) {
// do nothing
};
}
}
|