Parameters
$text - The text value.
$indentCount - The number of tabs to add to the line beginning.
$addBreak - Adds an HTML break before the cr/lf.
Syntax
PHP |
public static function WriteLine(?string $text, int $indentCount = 0 , bool $addBreak = false)
|
Writes a text line with indents.
Remarks
The text is sent to stdout using the echo php function.
It is often used for Debug output.
Example
PHP |
$webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
require_once "$webCommonPath/LJCTextLib.php";
$text = "This value";
LJCWriter::WriteLine("SomeMethod() text: $text");
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.