1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef __com_sun_star_logging_LogLevel_idl__
29#define __com_sun_star_logging_LogLevel_idl__
30
31//=============================================================================
32
33module com { module sun { module star { module logging {
34
35//=============================================================================
36
37/** specifies levels to distinguish between severities of logged events
38
39    @see XLogger
40
41    @since OOo 2.3
42 */
43constants LogLevel
44{
45    /** specifies that no messages are to be logged at all
46
47        <p>This level can be set at an <type>XLogger</type> to completely prevent
48        logging. You will usually not use it with a concrete log event.</p>
49    */
50    const long  OFF       = 0x7FFFFFFF;
51
52    /// denotes a serious failure to be logged
53    const long  SEVERE    =       1000;
54
55    /// denotes a potential problem to be logged
56    const long  WARNING   =        900;
57
58    /// denotes an informational message to be logged
59    const long  INFO      =        800;
60
61    /// denotes a static configuration message to be logged
62    const long  CONFIG    =        700;
63
64    /// denotes basic tracing information to be logged
65    const long  FINE      =        500;
66
67    /// denotes more fine-grained tracing information to be logged
68    const long  FINER     =        400;
69
70    /// denotes highly detailed tracing information to be logged
71    const long  FINEST    =        300;
72
73    /** specifies that all messages should be logged
74
75        <p>This level can be set at an <type>XLogger</type> to enable logging
76        of absolutely all events. You will usually not use it with a concrete log event.</p>
77    */
78    const long  ALL       = -0x80000000;
79};
80
81//=============================================================================
82
83}; }; }; };
84
85//=============================================================================
86
87#endif
88