mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 00:02:05 +02:00
Docs: LazUtils/lazlogger. Updates TLazLoggerFileHandle.WriteLnToFile topic for changes in be06ee3c
.
(cherry picked from commit 593495ecce
)
This commit is contained in:
parent
507267c2bd
commit
4ba6005f2a
@ -54,6 +54,7 @@ setup.
|
||||
<element name="LazFileUtils"/>
|
||||
<element name="LazStringUtils"/>
|
||||
<element name="LazUTF8"/>
|
||||
<element name="laztty"/>
|
||||
|
||||
<element name="PLazLoggerLogGroup">
|
||||
<short>
|
||||
@ -911,13 +912,16 @@ handled in OnWidgetSetDebugLn, no additional actions are performed in the
|
||||
method.
|
||||
</p>
|
||||
<p>
|
||||
Otherwise, the output handle is opened when not already assigned. If
|
||||
ActiveLogText is unassigned after trying to open the output handle, no
|
||||
additional actions are performed in the method.
|
||||
Otherwise, the output file type is opened when not already assigned. If
|
||||
ActiveLogText (the pointer to stdout) is unassigned after trying to open the
|
||||
output handle, no additional actions are performed in the method.
|
||||
</p>
|
||||
<p>
|
||||
The RTL WriteLn routine is called to write the value in S to the output
|
||||
handle for the TextRec.
|
||||
handle for the TextRec. The Colorize routine <file>LazTTY</file> is called to
|
||||
colrize keywords in S when the facility is supported for the platform and
|
||||
output device. See <link id="#lazutils.laztty.Colorize">Colorize</link>
|
||||
for more information.
|
||||
</p>
|
||||
<p>
|
||||
When CloseLogFileBetweenWrites is set to <b>True</b>, the output handle is
|
||||
@ -928,7 +932,14 @@ If an exception occurs during output to the handle, it is caught and the
|
||||
values in WriteFailedCount and LastWriteFailed are updated to reflect the
|
||||
error condition.
|
||||
</p>
|
||||
</descr> <seealso/>
|
||||
</descr>
|
||||
<version>
|
||||
Modified in LazUtils version 4.0 to add colorization of keywords on supported
|
||||
platforms and output devices.
|
||||
</version>
|
||||
<seealso>
|
||||
<link id="#lazutils.laztty.Colorize">Colorize</link>
|
||||
</seealso>
|
||||
</element>
|
||||
<element name="TLazLoggerFileHandle.WriteLnToFile.s">
|
||||
<short>Log message written in the method.</short>
|
||||
|
Loading…
Reference in New Issue
Block a user