blob: 0cb3ea6e799ace9c92d0378836124b93e996e154 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_144) on Sat Apr 25 12:11:40 MST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Facility (Apache Log4j Core 2.13.2 API)</title>
<meta name="date" content="2020-04-25">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Facility (Apache Log4j Core 2.13.2 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":9,"i3":9,"i4":9,"i5":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Facility.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/logging/log4j/core/net/DatagramSocketManager.html" title="class in org.apache.logging.log4j.core.net"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/logging/log4j/core/net/JndiManager.html" title="class in org.apache.logging.log4j.core.net"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/logging/log4j/core/net/Facility.html" target="_top">Frames</a></li>
<li><a href="Facility.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.logging.log4j.core.net</div>
<h2 title="Enum Facility" class="title">Enum Facility</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a>&lt;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.apache.logging.log4j.core.net.Facility</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public enum <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.127">Facility</a>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a>&gt;</pre>
<div class="block">The facility codes used by the Syslog system.
<table>
<tr>
<th>Numerical Code</th>
<th>Facility</th>
</tr>
<tr>
<td>0</td>
<td>kernel messages</td>
</tr>
<tr>
<td>1</td>
<td>user-level messages</td>
</tr>
<tr>
<td>2</td>
<td>mail system</td>
</tr>
<tr>
<td>3</td>
<td>system daemons</td>
</tr>
<tr>
<td>4</td>
<td>security/authorization messages</td>
</tr>
<tr>
<td>5</td>
<td>messages generated internally by syslogd</td>
</tr>
<tr>
<td>6</td>
<td>line printer subsystem</td>
</tr>
<tr>
<td>7</td>
<td>network news subsystem</td>
</tr>
<tr>
<td>8</td>
<td>UUCP subsystem</td>
</tr>
<tr>
<td>9</td>
<td>clock daemon</td>
</tr>
<tr>
<td>10</td>
<td>security/authorization messages</td>
</tr>
<tr>
<td>11</td>
<td>FTP daemon</td>
</tr>
<tr>
<td>12</td>
<td>NTP subsystem</td>
</tr>
<tr>
<td>13</td>
<td>log audit</td>
</tr>
<tr>
<td>14</td>
<td>log alert</td>
</tr>
<tr>
<td>15</td>
<td>clock daemon (note 2)</td>
</tr>
<tr>
<td>16</td>
<td>local use 0 (local0)</td>
</tr>
<tr>
<td>17</td>
<td>local use 1 (local1)</td>
</tr>
<tr>
<td>18</td>
<td>local use 2 (local2)</td>
</tr>
<tr>
<td>19</td>
<td>local use 3 (local3)</td>
</tr>
<tr>
<td>20</td>
<td>local use 4 (local4)</td>
</tr>
<tr>
<td>21</td>
<td>local use 5 (local5)</td>
</tr>
<tr>
<td>22</td>
<td>local use 6 (local6)</td>
</tr>
<tr>
<td>23</td>
<td>local use 7 (local7)</td>
</tr>
</table></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Enum Constant and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#AUTH">AUTH</a></span></code>
<div class="block">Security/Authorization messages.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#AUTHPRIV">AUTHPRIV</a></span></code>
<div class="block">Security/Authorization messages.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#CLOCK">CLOCK</a></span></code>
<div class="block">Clock daemon.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#CRON">CRON</a></span></code>
<div class="block">Clock daemon.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#DAEMON">DAEMON</a></span></code>
<div class="block">System daemons.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#FTP">FTP</a></span></code>
<div class="block">FTP daemon.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#KERN">KERN</a></span></code>
<div class="block">Kernel messages.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LOCAL0">LOCAL0</a></span></code>
<div class="block">Local use 0.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LOCAL1">LOCAL1</a></span></code>
<div class="block">Local use 1.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LOCAL2">LOCAL2</a></span></code>
<div class="block">Local use 2.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LOCAL3">LOCAL3</a></span></code>
<div class="block">Local use 3.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LOCAL4">LOCAL4</a></span></code>
<div class="block">Local use 4.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LOCAL5">LOCAL5</a></span></code>
<div class="block">Local use 5.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LOCAL6">LOCAL6</a></span></code>
<div class="block">Local use 6.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LOCAL7">LOCAL7</a></span></code>
<div class="block">Local use 7.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LOG_ALERT">LOG_ALERT</a></span></code>
<div class="block">Log alert.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LOG_AUDIT">LOG_AUDIT</a></span></code>
<div class="block">Log audit.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#LPR">LPR</a></span></code>
<div class="block">Line printer subsystem.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#MAIL">MAIL</a></span></code>
<div class="block">Mail system.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#NEWS">NEWS</a></span></code>
<div class="block">Network news subsystem.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#NTP">NTP</a></span></code>
<div class="block">NTP subsystem.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#SYSLOG">SYSLOG</a></span></code>
<div class="block">Messages generated by syslogd.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#USER">USER</a></span></code>
<div class="block">User level messages.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#UUCP">UUCP</a></span></code>
<div class="block">UUCP subsystem.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#getCode--">getCode</a></span>()</code>
<div class="block">Retrieve the value of the enumeration.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#isEqual-java.lang.String-">isEqual</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Determine if this enumeration matches the specified name (ignoring case).</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#toFacility-java.lang.String-">toFacility</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns the Facility for the given string.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#toFacility-java.lang.String-org.apache.logging.log4j.core.net.Facility-">toFacility</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a>&nbsp;defaultFacility)</code>
<div class="block">Returns the Facility for the given string.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ENUM CONSTANT DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="enum.constant.detail">
<!-- -->
</a>
<h3>Enum Constant Detail</h3>
<a name="KERN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>KERN</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.130">KERN</a></pre>
<div class="block">Kernel messages.</div>
</li>
</ul>
<a name="USER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>USER</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.133">USER</a></pre>
<div class="block">User level messages.</div>
</li>
</ul>
<a name="MAIL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAIL</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.136">MAIL</a></pre>
<div class="block">Mail system.</div>
</li>
</ul>
<a name="DAEMON">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DAEMON</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.139">DAEMON</a></pre>
<div class="block">System daemons.</div>
</li>
</ul>
<a name="AUTH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AUTH</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.142">AUTH</a></pre>
<div class="block">Security/Authorization messages.</div>
</li>
</ul>
<a name="SYSLOG">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SYSLOG</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.145">SYSLOG</a></pre>
<div class="block">Messages generated by syslogd.</div>
</li>
</ul>
<a name="LPR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LPR</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.148">LPR</a></pre>
<div class="block">Line printer subsystem.</div>
</li>
</ul>
<a name="NEWS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NEWS</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.151">NEWS</a></pre>
<div class="block">Network news subsystem.</div>
</li>
</ul>
<a name="UUCP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UUCP</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.154">UUCP</a></pre>
<div class="block">UUCP subsystem.</div>
</li>
</ul>
<a name="CRON">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CRON</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.157">CRON</a></pre>
<div class="block">Clock daemon.</div>
</li>
</ul>
<a name="AUTHPRIV">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AUTHPRIV</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.160">AUTHPRIV</a></pre>
<div class="block">Security/Authorization messages.</div>
</li>
</ul>
<a name="FTP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FTP</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.163">FTP</a></pre>
<div class="block">FTP daemon.</div>
</li>
</ul>
<a name="NTP">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NTP</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.166">NTP</a></pre>
<div class="block">NTP subsystem.</div>
</li>
</ul>
<a name="LOG_AUDIT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOG_AUDIT</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.169">LOG_AUDIT</a></pre>
<div class="block">Log audit.</div>
</li>
</ul>
<a name="LOG_ALERT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOG_ALERT</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.172">LOG_ALERT</a></pre>
<div class="block">Log alert.</div>
</li>
</ul>
<a name="CLOCK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CLOCK</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.175">CLOCK</a></pre>
<div class="block">Clock daemon.</div>
</li>
</ul>
<a name="LOCAL0">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCAL0</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.178">LOCAL0</a></pre>
<div class="block">Local use 0.</div>
</li>
</ul>
<a name="LOCAL1">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCAL1</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.181">LOCAL1</a></pre>
<div class="block">Local use 1.</div>
</li>
</ul>
<a name="LOCAL2">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCAL2</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.184">LOCAL2</a></pre>
<div class="block">Local use 2.</div>
</li>
</ul>
<a name="LOCAL3">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCAL3</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.187">LOCAL3</a></pre>
<div class="block">Local use 3.</div>
</li>
</ul>
<a name="LOCAL4">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCAL4</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.190">LOCAL4</a></pre>
<div class="block">Local use 4.</div>
</li>
</ul>
<a name="LOCAL5">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCAL5</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.193">LOCAL5</a></pre>
<div class="block">Local use 5.</div>
</li>
</ul>
<a name="LOCAL6">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCAL6</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.196">LOCAL6</a></pre>
<div class="block">Local use 6.</div>
</li>
</ul>
<a name="LOCAL7">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LOCAL7</h4>
<pre>public static final&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a> <a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.199">LOCAL7</a></pre>
<div class="block">Local use 7.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="values--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>values</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a>[]&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.47">values</a>()</pre>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
<pre>
for (Facility c : Facility.values())
&nbsp; System.out.println(c);
</pre></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.47">valueOf</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd>
</dl>
</li>
</ul>
<a name="toFacility-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toFacility</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.213">toFacility</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Returns the Facility for the given string.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - The Facility enum name, case-insensitive. If null, returns, null</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Facility enum value or null if name is null</dd>
</dl>
</li>
</ul>
<a name="toFacility-java.lang.String-org.apache.logging.log4j.core.net.Facility-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toFacility</h4>
<pre>public static&nbsp;<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a>&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.224">toFacility</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="../../../../../../org/apache/logging/log4j/core/net/Facility.html" title="enum in org.apache.logging.log4j.core.net">Facility</a>&nbsp;defaultFacility)</pre>
<div class="block">Returns the Facility for the given string.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - The Facility enum name, case-insensitive. If null, returns, defaultFacility</dd>
<dd><code>defaultFacility</code> - the Facility to return if name is null</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Facility enum value or null if name is null</dd>
</dl>
</li>
</ul>
<a name="getCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCode</h4>
<pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.232">getCode</a>()</pre>
<div class="block">Retrieve the value of the enumeration.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The value associated with the enumeration.</dd>
</dl>
</li>
</ul>
<a name="isEqual-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isEqual</h4>
<pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/logging/log4j/core/net/Facility.html#line.241">isEqual</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Determine if this enumeration matches the specified name (ignoring case).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - The name to check.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the name matches this enumeration, ignoring case.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Facility.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/logging/log4j/core/net/DatagramSocketManager.html" title="class in org.apache.logging.log4j.core.net"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/logging/log4j/core/net/JndiManager.html" title="class in org.apache.logging.log4j.core.net"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/logging/log4j/core/net/Facility.html" target="_top">Frames</a></li>
<li><a href="Facility.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#enum.constant.summary">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#enum.constant.detail">Enum Constants</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><p align="center">Copyright &#169; 1999-2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.<br /> Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p></small></p>
</body>
</html>