// Outputs the object debug text.
private static function OutputLogObject()
{
$className = "CommonTest";
$methodName = "OutputLogObject";
$valueName = "\$value";
$value = "Test";
$output = LJC::OutputLogObject(__line__, $className, $methodName, $valueName
, $value, isObject: false, output: false);
// output:
//
// CommonTest.OutputLogObject $value: Test
$value = (object) [
"Name" => "John",
"Number" => 5,
];
$output = LJC::OutputLogObject(__line__, $className, $methodName, $valueName
, $value, output: false);
// output:
//
// CommonTest.OutputLogObject $value:
// stdClass Object
// (
// [Name] => John
// [Number] => 5
// )
}
|