001    /*
002     * Copyright 2009-2015 UnboundID Corp.
003     * All Rights Reserved.
004     */
005    /*
006     * Copyright (C) 2015 UnboundID Corp.
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     */
021    package com.unboundid.ldap.sdk.unboundidds.logs;
022    
023    
024    
025    import com.unboundid.util.ThreadSafety;
026    import com.unboundid.util.ThreadSafetyLevel;
027    
028    
029    
030    /**
031     * <BLOCKQUOTE>
032     *   <B>NOTE:</B>  This class is part of the Commercial Edition of the UnboundID
033     *   LDAP SDK for Java.  It is not available for use in applications that
034     *   include only the Standard Edition of the LDAP SDK, and is not supported for
035     *   use in conjunction with non-UnboundID products.
036     * </BLOCKQUOTE>
037     * This enum contains the set of error log severities defined in the Directory
038     * Server.
039     */
040    @ThreadSafety(level=ThreadSafetyLevel.COMPLETELY_THREADSAFE)
041    public enum ErrorLogSeverity
042    {
043      /**
044       * The severity that will be used for messages providing debugging
045       * information.
046       */
047      DEBUG,
048    
049    
050    
051      /**
052       * The severity that will be used for fatal error messages, which indicate
053       * that the server can no longer continue functioning normally.
054       */
055      FATAL_ERROR,
056    
057    
058      /**
059       * The severity that will be used for informational messages which may be
060       * useful but generally do not need to be written to log files.
061       */
062      INFORMATION,
063    
064    
065    
066      /**
067       * The severity that will be used for messages about errors that are small in
068       * scope and do not generally impact the operation of the server.
069       */
070      MILD_ERROR,
071    
072    
073    
074      /**
075       * The severity that will be used for warnings about conditions that do not
076       * generally impact the operation of the server.
077       */
078      MILD_WARNING,
079    
080    
081      /**
082       * The severity that will be used for significant informational messages that
083       * should generally be visible to administrators.
084       */
085      NOTICE,
086    
087    
088      /**
089       * The severity that will be used for messages about errors that may impact
090       * the operation of the server or one of its components.
091       */
092      SEVERE_ERROR,
093    
094    
095      /**
096       * The severity that will be used for warning messages about conditions that
097       * may impact the operation of the server or one of its components.
098       */
099      SEVERE_WARNING
100    }