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