VirtualBox

source: vbox/trunk/src/VBox/Main/include/Logging.h@ 72098

Last change on this file since 72098 was 69500, checked in by vboxsync, 7 years ago

*: scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1/* $Id: Logging.h 69500 2017-10-28 15:14:05Z vboxsync $ */
2/** @file
3 * VirtualBox COM - logging macros and function definitions
4 */
5
6/*
7 * Copyright (C) 2004-2017 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef ____H_LOGGING
19#define ____H_LOGGING
20
21/* @def LOG_GROUP_MAIN_OVERRIDE
22 *
23 * DEPRECATED: Define this macro to point to the desired log group before including
24 * DEPRECATED: the |Logging.h| header if you want to use a group other than LOG_GROUP_MAIN
25 * DEPRECATED: for logging from within Main source files.
26 * DEPRECATED:
27 * DEPRECATED: Example:
28 * DEPRECATED: @code
29 * DEPRECATED: #define LOG_GROUP_MAIN_OVERRIDE LOG_GROUP_HGCM
30 * DEPRECATED: @endcode
31 *
32 * INSTEAD: Please define LOG_GROUP and include LoggingNew.h at the top of the source file!
33 * INSTEAD: Please define LOG_GROUP and include LoggingNew.h at the top of the source file!
34 * INSTEAD: Please define LOG_GROUP and include LoggingNew.h at the top of the source file!
35 *
36 */
37
38/*
39 * We might be including the VBox logging subsystem before
40 * including this header file, so reset the logging group.
41 */
42#ifdef LOG_GROUP
43# undef LOG_GROUP
44#endif
45#ifdef LOG_GROUP_MAIN_OVERRIDE
46# define LOG_GROUP LOG_GROUP_MAIN_OVERRIDE
47#else
48# define LOG_GROUP LOG_GROUP_MAIN
49#endif
50#ifndef VBOXSVC_LOG_DEFAULT
51# define VBOXSVC_LOG_DEFAULT "all"
52#endif
53#ifndef VBOXSDS_LOG_DEFAULT
54# define VBOXSDS_LOG_DEFAULT "all"
55#endif
56
57#include <VBox/log.h>
58
59#endif // !____H_LOGGING
60/* vi: set tabstop=4 shiftwidth=4 expandtab: */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette