final logger format update

This commit is contained in:
Egor 2022-05-11 00:23:57 +03:00
parent 80c0e0bb30
commit 1b7fe89d1a
11 changed files with 68 additions and 13 deletions

View file

@ -73,13 +73,13 @@ var activeTableTab = "activeTableTab";
<ul class="subNavList"> <ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="subNavList"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>
@ -115,6 +115,25 @@ extends java.lang.Object</pre>
<div class="summary"> <div class="summary">
<ul class="blockList"> <ul class="blockList">
<li class="blockList"> <li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.logging.Logger</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../client/Lab5Client.html#LOGGER">LOGGER</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="constructor.summary"> <li class="blockList"><a name="constructor.summary">
@ -164,6 +183,23 @@ extends java.lang.Object</pre>
<div class="details"> <div class="details">
<ul class="blockList"> <ul class="blockList">
<li class="blockList"> <li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="LOGGER">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LOGGER</h4>
<pre>public static final&nbsp;java.util.logging.Logger LOGGER</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="constructor.detail"> <li class="blockList"><a name="constructor.detail">
@ -249,13 +285,13 @@ extends java.lang.Object</pre>
<ul class="subNavList"> <ul class="subNavList">
<li>Summary:&nbsp;</li> <li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li> <li><a href="#method.summary">Method</a></li>
</ul> </ul>
<ul class="subNavList"> <ul class="subNavList">
<li>Detail:&nbsp;</li> <li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li> <li><a href="#method.detail">Method</a></li>
</ul> </ul>

View file

@ -251,6 +251,8 @@
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="client/Lab5Client.html#Lab5Client--">Lab5Client()</a></span> - Constructor for class client.<a href="client/Lab5Client.html" title="class in client">Lab5Client</a></dt> <dt><span class="memberNameLink"><a href="client/Lab5Client.html#Lab5Client--">Lab5Client()</a></span> - Constructor for class client.<a href="client/Lab5Client.html" title="class in client">Lab5Client</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="client/Lab5Client.html#LOGGER">LOGGER</a></span> - Static variable in class client.<a href="client/Lab5Client.html" title="class in client">Lab5Client</a></dt>
<dd>&nbsp;</dd>
<dt><a href="client/commandline/LongStrings.html" title="enum in client.commandline"><span class="typeNameLink">LongStrings</span></a> - Enum in <a href="client/commandline/package-summary.html">client.commandline</a></dt> <dt><a href="client/commandline/LongStrings.html" title="enum in client.commandline"><span class="typeNameLink">LongStrings</span></a> - Enum in <a href="client/commandline/package-summary.html">client.commandline</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
</dl> </dl>

View file

@ -17,7 +17,7 @@
catch(err) { catch(err) {
} }
//--> //-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9}; var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor"; var altColor = "altColor";
var rowColor = "rowColor"; var rowColor = "rowColor";
@ -142,10 +142,15 @@ extends java.lang.Object</pre>
<td class="colLast"><code><span class="memberNameLink"><a href="../../common/util/UtilFunctions.html#floatOrNull-java.lang.String-">floatOrNull</a></span>(java.lang.String&nbsp;number)</code>&nbsp;</td> <td class="colLast"><code><span class="memberNameLink"><a href="../../common/util/UtilFunctions.html#floatOrNull-java.lang.String-">floatOrNull</a></span>(java.lang.String&nbsp;number)</code>&nbsp;</td>
</tr> </tr>
<tr id="i3" class="rowColor"> <tr id="i3" class="rowColor">
<td class="colFirst"><code>static java.util.logging.Logger</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../common/util/UtilFunctions.html#getLogger-java.lang.Class-java.lang.String-">getLogger</a></span>(java.lang.Class&lt;?&gt;&nbsp;clazz,
java.lang.String&nbsp;mainLoggerName)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static java.lang.Integer</code></td> <td class="colFirst"><code>static java.lang.Integer</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../common/util/UtilFunctions.html#intOrNull-java.lang.String-">intOrNull</a></span>(java.lang.String&nbsp;number)</code>&nbsp;</td> <td class="colLast"><code><span class="memberNameLink"><a href="../../common/util/UtilFunctions.html#intOrNull-java.lang.String-">intOrNull</a></span>(java.lang.String&nbsp;number)</code>&nbsp;</td>
</tr> </tr>
<tr id="i4" class="altColor"> <tr id="i5" class="rowColor">
<td class="colFirst"><code>static java.lang.Long</code></td> <td class="colFirst"><code>static java.lang.Long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../common/util/UtilFunctions.html#longOrNull-java.lang.String-">longOrNull</a></span>(java.lang.String&nbsp;number)</code>&nbsp;</td> <td class="colLast"><code><span class="memberNameLink"><a href="../../common/util/UtilFunctions.html#longOrNull-java.lang.String-">longOrNull</a></span>(java.lang.String&nbsp;number)</code>&nbsp;</td>
</tr> </tr>
@ -210,13 +215,23 @@ extends java.lang.Object</pre>
<a name="enumOrNull-java.lang.String-java.lang.Class-"> <a name="enumOrNull-java.lang.String-java.lang.Class-">
<!-- --> <!-- -->
</a> </a>
<ul class="blockListLast"> <ul class="blockList">
<li class="blockList"> <li class="blockList">
<h4>enumOrNull</h4> <h4>enumOrNull</h4>
<pre>public static&nbsp;&lt;T extends java.lang.Enum&lt;T&gt;&gt;&nbsp;T&nbsp;enumOrNull(java.lang.String&nbsp;value, <pre>public static&nbsp;&lt;T extends java.lang.Enum&lt;T&gt;&gt;&nbsp;T&nbsp;enumOrNull(java.lang.String&nbsp;value,
java.lang.Class&lt;T&gt;&nbsp;enumType)</pre> java.lang.Class&lt;T&gt;&nbsp;enumType)</pre>
</li> </li>
</ul> </ul>
<a name="getLogger-java.lang.Class-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getLogger</h4>
<pre>public static&nbsp;java.util.logging.Logger&nbsp;getLogger(java.lang.Class&lt;?&gt;&nbsp;clazz,
java.lang.String&nbsp;mainLoggerName)</pre>
</li>
</ul>
</li> </li>
</ul> </ul>
</li> </li>

View file

@ -241,6 +241,8 @@
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="common/parser/ConnectionProperties.html#getHostname--">getHostname()</a></span> - Static method in class common.parser.<a href="common/parser/ConnectionProperties.html" title="class in common.parser">ConnectionProperties</a></dt> <dt><span class="memberNameLink"><a href="common/parser/ConnectionProperties.html#getHostname--">getHostname()</a></span> - Static method in class common.parser.<a href="common/parser/ConnectionProperties.html" title="class in common.parser">ConnectionProperties</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="common/util/UtilFunctions.html#getLogger-java.lang.Class-java.lang.String-">getLogger(Class&lt;?&gt;, String)</a></span> - Static method in class common.util.<a href="common/util/UtilFunctions.html" title="class in common.util">UtilFunctions</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="common/commandline/response/DefaultResponse.html#getMsg--">getMsg()</a></span> - Method in enum common.commandline.response.<a href="common/commandline/response/DefaultResponse.html" title="enum in common.commandline.response">DefaultResponse</a></dt> <dt><span class="memberNameLink"><a href="common/commandline/response/DefaultResponse.html#getMsg--">getMsg()</a></span> - Method in enum common.commandline.response.<a href="common/commandline/response/DefaultResponse.html" title="enum in common.commandline.response">DefaultResponse</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="common/commandline/response/PeopleDatabaseResponse.html#getMsg--">getMsg()</a></span> - Method in enum common.commandline.response.<a href="common/commandline/response/PeopleDatabaseResponse.html" title="enum in common.commandline.response">PeopleDatabaseResponse</a></dt> <dt><span class="memberNameLink"><a href="common/commandline/response/PeopleDatabaseResponse.html#getMsg--">getMsg()</a></span> - Method in enum common.commandline.response.<a href="common/commandline/response/PeopleDatabaseResponse.html" title="enum in common.commandline.response">PeopleDatabaseResponse</a></dt>

View file

@ -71,7 +71,7 @@ public final class UtilFunctions {
mainLogger.setUseParentHandlers(false); mainLogger.setUseParentHandlers(false);
ConsoleHandler handler = new ConsoleHandler(); ConsoleHandler handler = new ConsoleHandler();
handler.setFormatter(new SimpleFormatter() { handler.setFormatter(new SimpleFormatter() {
private static final String format = "[%1$tF %1$tT] [%s] %3$s %n"; private static final String format = "[%1$tF %1$tT] [%2$s] %3$s %n";
@Override @Override
public synchronized String format(LogRecord record) { public synchronized String format(LogRecord record) {

View file

@ -92,7 +92,7 @@
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="server/Lab5Server.html#Lab5Server--">Lab5Server()</a></span> - Constructor for class server.<a href="server/Lab5Server.html" title="class in server">Lab5Server</a></dt> <dt><span class="memberNameLink"><a href="server/Lab5Server.html#Lab5Server--">Lab5Server()</a></span> - Constructor for class server.<a href="server/Lab5Server.html" title="class in server">Lab5Server</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="server/Lab5Server.html#logger">logger</a></span> - Static variable in class server.<a href="server/Lab5Server.html" title="class in server">Lab5Server</a></dt> <dt><span class="memberNameLink"><a href="server/Lab5Server.html#LOGGER">LOGGER</a></span> - Static variable in class server.<a href="server/Lab5Server.html" title="class in server">Lab5Server</a></dt>
<dd>&nbsp;</dd> <dd>&nbsp;</dd>
</dl> </dl>
<a name="I:M"> <a name="I:M">

View file

@ -129,7 +129,7 @@ extends java.lang.Object</pre>
</tr> </tr>
<tr class="altColor"> <tr class="altColor">
<td class="colFirst"><code>static java.util.logging.Logger</code></td> <td class="colFirst"><code>static java.util.logging.Logger</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../server/Lab5Server.html#logger">logger</a></span></code>&nbsp;</td> <td class="colLast"><code><span class="memberNameLink"><a href="../server/Lab5Server.html#LOGGER">LOGGER</a></span></code>&nbsp;</td>
</tr> </tr>
</table> </table>
</li> </li>
@ -189,13 +189,13 @@ extends java.lang.Object</pre>
<!-- --> <!-- -->
</a> </a>
<h3>Field Detail</h3> <h3>Field Detail</h3>
<a name="logger"> <a name="LOGGER">
<!-- --> <!-- -->
</a> </a>
<ul class="blockListLast"> <ul class="blockListLast">
<li class="blockList"> <li class="blockList">
<h4>logger</h4> <h4>LOGGER</h4>
<pre>public static final&nbsp;java.util.logging.Logger logger</pre> <pre>public static final&nbsp;java.util.logging.Logger LOGGER</pre>
</li> </li>
</ul> </ul>
</li> </li>