001/*
002 * Copyright 2009-2017 Ping Identity Corporation
003 * All Rights Reserved.
004 */
005/*
006 * Copyright (C) 2015-2017 Ping Identity Corporation
007 *
008 * This program is free software; you can redistribute it and/or modify
009 * it under the terms of the GNU General Public License (GPLv2 only)
010 * or the terms of the GNU Lesser General Public License (LGPLv2.1 only)
011 * as published by the Free Software Foundation.
012 *
013 * This program is distributed in the hope that it will be useful,
014 * but WITHOUT ANY WARRANTY; without even the implied warranty of
015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
016 * GNU General Public License for more details.
017 *
018 * You should have received a copy of the GNU General Public License
019 * along with this program; if not, see <http://www.gnu.org/licenses>.
020 */
021package com.unboundid.ldap.sdk.unboundidds.logs;
022
023
024
025import com.unboundid.util.ThreadSafety;
026import com.unboundid.util.ThreadSafetyLevel;
027
028
029
030/**
031 * This enum contains the set of error log severities defined in the Directory
032 * Server.
033 * <BR>
034 * <BLOCKQUOTE>
035 *   <B>NOTE:</B>  This class, and other classes within the
036 *   {@code com.unboundid.ldap.sdk.unboundidds} package structure, are only
037 *   supported for use against Ping Identity, UnboundID, and Alcatel-Lucent 8661
038 *   server products.  These classes provide support for proprietary
039 *   functionality or for external specifications that are not considered stable
040 *   or mature enough to be guaranteed to work in an interoperable way with
041 *   other types of LDAP servers.
042 * </BLOCKQUOTE>
043 */
044@ThreadSafety(level=ThreadSafetyLevel.COMPLETELY_THREADSAFE)
045public enum ErrorLogSeverity
046{
047  /**
048   * The severity that will be used for messages providing debugging
049   * information.
050   */
051  DEBUG,
052
053
054
055  /**
056   * The severity that will be used for fatal error messages, which indicate
057   * that the server can no longer continue functioning normally.
058   */
059  FATAL_ERROR,
060
061
062  /**
063   * The severity that will be used for informational messages which may be
064   * useful but generally do not need to be written to log files.
065   */
066  INFORMATION,
067
068
069
070  /**
071   * The severity that will be used for messages about errors that are small in
072   * scope and do not generally impact the operation of the server.
073   */
074  MILD_ERROR,
075
076
077
078  /**
079   * The severity that will be used for warnings about conditions that do not
080   * generally impact the operation of the server.
081   */
082  MILD_WARNING,
083
084
085  /**
086   * The severity that will be used for significant informational messages that
087   * should generally be visible to administrators.
088   */
089  NOTICE,
090
091
092  /**
093   * The severity that will be used for messages about errors that may impact
094   * the operation of the server or one of its components.
095   */
096  SEVERE_ERROR,
097
098
099  /**
100   * The severity that will be used for warning messages about conditions that
101   * may impact the operation of the server or one of its components.
102   */
103  SEVERE_WARNING
104}