<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>ILogWriter on sillysky.net</title>
    <link>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/</link>
    <description>Recent content in ILogWriter on sillysky.net</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 14 Oct 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CDefaultConsoleLogWriter</title>
      <link>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/cdefaultconsolelogwriter/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/cdefaultconsolelogwriter/</guid>
      <description>&lt;p&gt;This &lt;a href=&#34;https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/&#34;&gt;LOG writer&lt;/a&gt; is the supplied LOG writer for &lt;strong&gt;console&lt;/strong&gt; output.&lt;br&gt;&#xA;It prints messages with &lt;a href=&#34;https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/elevel/&#34;&gt;ERROR level&lt;/a&gt; on &lt;code&gt;System.err&lt;/code&gt;, while other&#xA;levels are printed on &lt;code&gt;System.out&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The log writer gets the settings (formatter, filename, level) from the&#xA;preferences: see &lt;a href=&#34;https://sillysky.net/docs/nyssr/configuration/configuration-nodes-and-keys/#anchor_log_writer&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CLogDto</title>
      <link>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/clogdto/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/clogdto/</guid>
      <description>&lt;p&gt;The &lt;code&gt;CLogDto&lt;/code&gt; class is used to store the data of a LOG entry.&lt;/p&gt;&#xA;&lt;h2 id=&#34;constructor&#34;&gt;Constructor&lt;/h2&gt;&#xA;&lt;p&gt;There is only one constructor.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;public &lt;a href=&#34;https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/clogdto/&#34;&gt;CLogDto&lt;/a&gt;(@NotNull final &lt;a href=&#34;https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/elevel/&#34;&gt;ELevel&lt;/a&gt; aLevel,&#xA;               @Nullable final Class&lt;?&gt; aClass,&#xA;               @Nullable final String aName);&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;getter-and-setter&#34;&gt;Getter and setter&lt;/h2&gt;&#xA;&lt;p&gt;The LOG level indicates how important this LOG entry is.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;@NotNull&#xA;public &lt;a href=&#34;https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/elevel/&#34;&gt;ELevel&lt;/a&gt; getLevel();&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The logger ID can consist of any class or text. In case of a class, its full&#xA;name (including package) is used as ID.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;@Nullable&#xA;public String getName();&#xA;@Nullable&#xA;public Class&lt;?&gt; getLoggerClass();&#xA;@NotNull&#xA;public String getLoggerName();&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;The message is the text that was given during logging. This text is not yet&#xA;the final formatted text.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CSyncFileLogWriter</title>
      <link>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/csyncfilelogwriter/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/csyncfilelogwriter/</guid>
      <description>&lt;p&gt;This class implements the ILogWriter interface. It writes the formatted log&#xA;messages to a file.&lt;/p&gt;&#xA;&lt;p&gt;The writer formats the LOG message slightly differently than usual. There are&#xA;two columns in the output. The LOG text is printed in the first column. It is&#xA;wrapped when the column width is reached. In the second column, the other&#xA;information is printed, such as time, the executing Java file, etc.. The&#xA;second column is very far to the right in a normal editor, so you may have to&#xA;scroll the output window to the right to see the contents. In return, it does&#xA;not take up any space in the normal field of view, and more space remains for&#xA;the important first column.&lt;/p&gt;</description>
    </item>
    <item>
      <title>ELevel</title>
      <link>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/elevel/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/elevel/</guid>
      <description>&lt;p&gt;As in many other logging systems, there are LOG levels. The following LOG&#xA;levels are specified:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;TRACE&lt;/li&gt;&#xA;&lt;li&gt;DEBUG&lt;/li&gt;&#xA;&lt;li&gt;INFO&lt;/li&gt;&#xA;&lt;li&gt;WARN&lt;/li&gt;&#xA;&lt;li&gt;ERROR&lt;/li&gt;&#xA;&lt;li&gt;OFF&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;As always, setting a log level allows all LOG messages to be output at the&#xA;same and lower LOG levels. Example: If the LOG level is set to INFO, all&#xA;outputs with the levels INFO, WARN and ERROR are allowed. An exception is the&#xA;OFF level: here all outputs are suppressed.&lt;/p&gt;</description>
    </item>
    <item>
      <title>ILogger</title>
      <link>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/ilogger/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/ilogger/</guid>
      <description>&lt;p&gt;The logger interface allows the user to write messages to the LOG output. A&#xA;logger is obtained via the logger factory by specifying a class or a freely&#xA;selectable name.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;@NotNull&#xA;public static &lt;a href=&#34;https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/ilogger/&#34;&gt;ILogger&lt;/a&gt; getLogger(@NotNull final Class&lt;?&gt; aClass);&#xA;@NotNull&#xA;public static &lt;a href=&#34;https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/ilogger/&#34;&gt;ILogger&lt;/a&gt; getLogger(@NotNull final String aName);&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;log-levels&#34;&gt;LOG levels&lt;/h2&gt;&#xA;&lt;p&gt;As in many other logging systems, there are &lt;a href=&#34;https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/elevel/&#34;&gt;LOG levels&lt;/a&gt;. The&#xA;following LOG levels are specified:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;TRACE&lt;/li&gt;&#xA;&lt;li&gt;DEBUG&lt;/li&gt;&#xA;&lt;li&gt;INFO&lt;/li&gt;&#xA;&lt;li&gt;WARN&lt;/li&gt;&#xA;&lt;li&gt;ERROR&lt;/li&gt;&#xA;&lt;li&gt;OFF&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;logging-methods&#34;&gt;Logging methods&lt;/h2&gt;&#xA;&lt;p&gt;For each &lt;a href=&#34;https://sillysky.net/docs/nyssr/logging/cloggerfactory/ilogwriter/elevel/&#34;&gt;level&lt;/a&gt; there is a set of methods to output a LOG message.&#xA;Here is only the presentation of the methods for the debug output, the methods&#xA;for the other LOG levels are analogous.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
