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