1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
28 #ifndef __com_sun_star_logging_LogLevel_idl__
29 #define __com_sun_star_logging_LogLevel_idl__
31 //=============================================================================
33 module com
{ module sun
{ module star
{ module logging
{
35 //=============================================================================
37 /** specifies levels to distinguish between severities of logged events
45 /** specifies that no messages are to be logged at all
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>
50 const long OFF
= 0x7FFFFFFF;
52 /// denotes a serious failure to be logged
53 const long SEVERE
= 1000;
55 /// denotes a potential problem to be logged
56 const long WARNING
= 900;
58 /// denotes an informational message to be logged
59 const long INFO
= 800;
61 /// denotes a static configuration message to be logged
62 const long CONFIG
= 700;
64 /// denotes basic tracing information to be logged
65 const long FINE
= 500;
67 /// denotes more fine-grained tracing information to be logged
68 const long FINER
= 400;
70 /// denotes highly detailed tracing information to be logged
71 const long FINEST
= 300;
73 /** specifies that all messages should be logged
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>
78 const long ALL
= -0x80000000;
81 //=============================================================================
85 //=============================================================================