/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* ident "%Z%%M% %I% %E% SMI" */
/**
* <code>syslog(3C)</code> facility levels defined in
*/
public class Facility {
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
*/
/**
* LOG_KERN <code>syslog(3C)</code> facility
*/
/**
* LOG_USER <code>syslog(3C)</code> facility
*/
/**
* LOG_MAIL <code>syslog(3C)</code> facility
*/
/**
* LOG_DAEMON <code>syslog(3C)</code> facility
*/
"DAEMON");
/**
* LOG_AUTH <code>syslog(3C)</code> facility
*/
/**
* LOG_SYSLOG <code>syslog(3C)</code> facility
*/
"SYSLOG");
/**
* LOG_LPR <code>syslog(3C)</code> facility
*/
/**
* LOG_NEWS <code>syslog(3C)</code> facility
*/
/**
* LOG_UUCP <code>syslog(3C)</code> facility
*/
/**
* LOG_CRON <code>syslog(3C)</code> facility
*/
/**
* LOG_LOCAL0 <code>syslog(3C)</code> facility
*/
"LOCAL0");
/**
* LOG_LOCAL1 <code>syslog(3C)</code> facility
*/
"LOCAL1");
/**
* LOG_LOCAL2 <code>syslog(3C)</code> facility
*/
"LOCAL2");
/**
* LOG_LOCAL3 <code>syslog(3C)</code> facility
*/
"LOCAL3");
/**
* LOG_LOCAL4 <code>syslog(3C)</code> facility
*/
"LOCAL4");
/**
* LOG_LOCAL5 <code>syslog(3C)</code> facility
*/
"LOCAL5");
/**
* LOG_LOCAL6 <code>syslog(3C)</code> facility
*/
"LOCAL6");
/**
* LOG_LOCAL7 <code>syslog(3C)</code> facility
*/
"LOCAL7");
/**
* Native facility of this instance.
*/
private int facility;
/**
* Name of this facility.
*/
{
}
/**
* Returns the native <code>syslog(3C)</code> facility.
*/
public int getNative()
{
return (facility);
}
{
}
{
return (string);
}
}