VirtualBox

source: vbox/trunk/include/VBox/log.h@ 45786

Last change on this file since 45786 was 45518, checked in by vboxsync, 12 years ago

Main: Code generator for (xp)com API implementations, including logging and parameter conversion, so far only used by MediumFormat. Next try, needed significant tweaks to work with xpcom (safearray handling fixes in the parameter conversion helpers), different STL implementation (which doesn't support declaring template type parameters as const), missing build dependencies (which didn't show on the dual core system used for writing the code), and finally the duplicate XPCOM classinfo and AddRef/Release/QueryInterface method definitions needed to be removed.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 30.2 KB
Line 
1/** @file
2 * VirtualBox - Logging.
3 */
4
5/*
6 * Copyright (C) 2006-2013 Oracle Corporation
7 *
8 * This file is part of VirtualBox Open Source Edition (OSE), as
9 * available from http://www.virtualbox.org. This file is free software;
10 * you can redistribute it and/or modify it under the terms of the GNU
11 * General Public License (GPL) as published by the Free Software
12 * Foundation, in version 2 as it comes in the "COPYING" file of the
13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15 *
16 * The contents of this file may alternatively be used under the terms
17 * of the Common Development and Distribution License Version 1.0
18 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
19 * VirtualBox OSE distribution, in which case the provisions of the
20 * CDDL are applicable instead of those of the GPL.
21 *
22 * You may elect to license modified versions of this file under the
23 * terms and conditions of either the GPL or the CDDL or both.
24 */
25
26#ifndef ___VBox_log_h
27#define ___VBox_log_h
28
29/*
30 * Set the default loggroup.
31 */
32#ifndef LOG_GROUP
33# define LOG_GROUP LOG_GROUP_DEFAULT
34#endif
35
36#include <iprt/log.h>
37
38
39/** @defgroup grp_rt_vbox_log VirtualBox Logging
40 * @ingroup grp_rt_vbox
41 * @{
42 */
43
44/** PC port for debug output */
45#define RTLOG_DEBUG_PORT 0x504
46
47/**
48 * VirtualBox Logging Groups.
49 * (Remember to update LOGGROUP_NAMES!)
50 *
51 * @remark It should be pretty obvious, but just to have
52 * mentioned it, the values are sorted alphabetically (using the
53 * english alphabet) except for _DEFAULT which is always first.
54 *
55 * If anyone might be wondering what the alphabet looks like:
56 * A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _
57 */
58typedef enum LOGGROUP
59{
60 /** The default VBox group. */
61 LOG_GROUP_DEFAULT = RTLOGGROUP_FIRST_USER,
62 /** Auto-logon group. */
63 LOG_GROUP_AUTOLOGON,
64 /** CFGM group. */
65 LOG_GROUP_CFGM,
66 /** CPUM group. */
67 LOG_GROUP_CPUM,
68 /** CSAM group. */
69 LOG_GROUP_CSAM,
70 /** Debug Console group. */
71 LOG_GROUP_DBGC,
72 /** DBGF group. */
73 LOG_GROUP_DBGF,
74 /** DBGF info group. */
75 LOG_GROUP_DBGF_INFO,
76 /** The debugger gui. */
77 LOG_GROUP_DBGG,
78 /** Generic Device group. */
79 LOG_GROUP_DEV,
80 /** ACPI Device group. */
81 LOG_GROUP_DEV_ACPI,
82 /** AHCI Device group. */
83 LOG_GROUP_DEV_AHCI,
84 /** APIC Device group. */
85 LOG_GROUP_DEV_APIC,
86 /** Audio Device group. */
87 LOG_GROUP_DEV_AUDIO,
88 /** BusLogic SCSI host adapter group. */
89 LOG_GROUP_DEV_BUSLOGIC,
90 /** DMA Controller group. */
91 LOG_GROUP_DEV_DMA,
92 /** Gigabit Ethernet Device group. */
93 LOG_GROUP_DEV_E1000,
94 /** Extensible Firmware Interface Device group. */
95 LOG_GROUP_DEV_EFI,
96 /** Floppy Controller Device group. */
97 LOG_GROUP_DEV_FDC,
98 /** High Precision Event Timer Device group. */
99 LOG_GROUP_DEV_HPET,
100 /** IDE Device group. */
101 LOG_GROUP_DEV_IDE,
102 /** The internal networking IP stack Device group. */
103 LOG_GROUP_DEV_INIP,
104 /** KeyBoard Controller Device group. */
105 LOG_GROUP_DEV_KBD,
106 /** Low Pin Count Device group. */
107 LOG_GROUP_DEV_LPC,
108 /** LsiLogic SCSI controller Device group. */
109 LOG_GROUP_DEV_LSILOGICSCSI,
110 /** NE2000 Device group. */
111 LOG_GROUP_DEV_NE2000,
112 /** Parallel Device group */
113 LOG_GROUP_DEV_PARALLEL,
114 /** PC Device group. */
115 LOG_GROUP_DEV_PC,
116 /** PC Architecture Device group. */
117 LOG_GROUP_DEV_PC_ARCH,
118 /** PC BIOS Device group. */
119 LOG_GROUP_DEV_PC_BIOS,
120 /** PCI Device group. */
121 LOG_GROUP_DEV_PCI,
122 /** PCI Raw Device group. */
123 LOG_GROUP_DEV_PCI_RAW,
124 /** PCNet Device group. */
125 LOG_GROUP_DEV_PCNET,
126 /** PIC Device group. */
127 LOG_GROUP_DEV_PIC,
128 /** PIT Device group. */
129 LOG_GROUP_DEV_PIT,
130 /** RTC Device group. */
131 LOG_GROUP_DEV_RTC,
132 /** Serial Device group */
133 LOG_GROUP_DEV_SERIAL,
134 /** System Management Controller Device group. */
135 LOG_GROUP_DEV_SMC,
136 /** USB Device group. */
137 LOG_GROUP_DEV_USB,
138 /** VGA Device group. */
139 LOG_GROUP_DEV_VGA,
140 /** Virtio PCI Device group. */
141 LOG_GROUP_DEV_VIRTIO,
142 /** Virtio Network Device group. */
143 LOG_GROUP_DEV_VIRTIO_NET,
144 /** VMM Device group. */
145 LOG_GROUP_DEV_VMM,
146 /** VMM Device group for backdoor logging. */
147 LOG_GROUP_DEV_VMM_BACKDOOR,
148 /** VMM Device group for logging guest backdoor logging to stderr. */
149 LOG_GROUP_DEV_VMM_STDERR,
150 /** Disassembler group. */
151 LOG_GROUP_DIS,
152 /** Generic driver group. */
153 LOG_GROUP_DRV,
154 /** ACPI driver group */
155 LOG_GROUP_DRV_ACPI,
156 /** Block driver group. */
157 LOG_GROUP_DRV_BLOCK,
158 /** Char driver group. */
159 LOG_GROUP_DRV_CHAR,
160 /** Disk integrity driver group. */
161 LOG_GROUP_DRV_DISK_INTEGRITY,
162 /** Video Display driver group. */
163 LOG_GROUP_DRV_DISPLAY,
164 /** Floppy media driver group. */
165 LOG_GROUP_DRV_FLOPPY,
166 /** Host Base block driver group. */
167 LOG_GROUP_DRV_HOST_BASE,
168 /** Host DVD block driver group. */
169 LOG_GROUP_DRV_HOST_DVD,
170 /** Host floppy block driver group. */
171 LOG_GROUP_DRV_HOST_FLOPPY,
172 /** Host Parallel Driver group */
173 LOG_GROUP_DRV_HOST_PARALLEL,
174 /** Host Serial Driver Group */
175 LOG_GROUP_DRV_HOST_SERIAL,
176 /** The internal networking transport driver group. */
177 LOG_GROUP_DRV_INTNET,
178 /** ISO (CD/DVD) media driver group. */
179 LOG_GROUP_DRV_ISO,
180 /** Keyboard Queue driver group. */
181 LOG_GROUP_DRV_KBD_QUEUE,
182 /** lwIP IP stack driver group. */
183 LOG_GROUP_DRV_LWIP,
184 /** Video Miniport driver group. */
185 LOG_GROUP_DRV_MINIPORT,
186 /** Mouse driver group. */
187 LOG_GROUP_DRV_MOUSE,
188 /** Mouse Queue driver group. */
189 LOG_GROUP_DRV_MOUSE_QUEUE,
190 /** Named Pipe stream driver group. */
191 LOG_GROUP_DRV_NAMEDPIPE,
192 /** NAT network transport driver group */
193 LOG_GROUP_DRV_NAT,
194 /** Raw image driver group */
195 LOG_GROUP_DRV_RAW_IMAGE,
196 /** SCSI driver group. */
197 LOG_GROUP_DRV_SCSI,
198 /** Host SCSI driver group. */
199 LOG_GROUP_DRV_SCSIHOST,
200 /** Async transport driver group */
201 LOG_GROUP_DRV_TRANSPORT_ASYNC,
202 /** TUN network transport driver group */
203 LOG_GROUP_DRV_TUN,
204 /** UDP tunnet network transport driver group. */
205 LOG_GROUP_DRV_UDPTUNNEL,
206 /** USB Proxy driver group. */
207 LOG_GROUP_DRV_USBPROXY,
208 /** VBoxHDD media driver group. */
209 LOG_GROUP_DRV_VBOXHDD,
210 /** VBox HDD container media driver group. */
211 LOG_GROUP_DRV_VD,
212 /** Virtual Switch transport driver group */
213 LOG_GROUP_DRV_VSWITCH,
214 /** VUSB driver group */
215 LOG_GROUP_DRV_VUSB,
216 /** EM group. */
217 LOG_GROUP_EM,
218 /** FTM group. */
219 LOG_GROUP_FTM,
220 /** GMM group. */
221 LOG_GROUP_GMM,
222 /** Guest control. */
223 LOG_GROUP_GUEST_CONTROL,
224 /** GUI group. */
225 LOG_GROUP_GUI,
226 /** GVMM group. */
227 LOG_GROUP_GVMM,
228 /** HGCM group */
229 LOG_GROUP_HGCM,
230 /** HGSMI group */
231 LOG_GROUP_HGSMI,
232 /** HM group. */
233 LOG_GROUP_HM,
234 /** IEM group. */
235 LOG_GROUP_IEM,
236 /** IOM group. */
237 LOG_GROUP_IOM,
238 /** XPCOM IPC group. */
239 LOG_GROUP_IPC,
240 /** Main group. */
241 LOG_GROUP_MAIN,
242 /** Main group, IAdditionsFacility. */
243 LOG_GROUP_MAIN_ADDITIONSFACILITY,
244 /** Main group, IAdditionsStateChangedEvent. */
245 LOG_GROUP_MAIN_ADDITIONSSTATECHANGEDEVENT,
246 /** Main group, IAppliance. */
247 LOG_GROUP_MAIN_APPLIANCE,
248 /** Main group, IAudioAdapter. */
249 LOG_GROUP_MAIN_AUDIOADAPTER,
250 /** Main group, IBandwidthControl. */
251 LOG_GROUP_MAIN_BANDWIDTHCONTROL,
252 /** Main group, IBandwidthGroup. */
253 LOG_GROUP_MAIN_BANDWIDTHGROUP,
254 /** Main group, IBandwidthGroupChangedEvent. */
255 LOG_GROUP_MAIN_BANDWIDTHGROUPCHANGEDEVENT,
256 /** Main group, IBIOSSettings. */
257 LOG_GROUP_MAIN_BIOSSETTINGS,
258 /** Main group, ICanShowWindowEvent. */
259 LOG_GROUP_MAIN_CANSHOWWINDOWEVENT,
260 /** Main group, IClipboardModeChangedEvent. */
261 LOG_GROUP_MAIN_CLIPBOARDMODECHANGEDEVENT,
262 /** Main group, IConsole. */
263 LOG_GROUP_MAIN_CONSOLE,
264 /** Main group, ICPUChangedEvent. */
265 LOG_GROUP_MAIN_CPUCHANGEDEVENT,
266 /** Main group, ICPUExecutionCapChangedEvent. */
267 LOG_GROUP_MAIN_CPUEXECUTIONCAPCHANGEDEVENT,
268 /** Main group, IDHCPServer. */
269 LOG_GROUP_MAIN_DHCPSERVER,
270 /** Main group, IDirectory. */
271 LOG_GROUP_MAIN_DIRECTORY,
272 /** Main group, IDisplay. */
273 LOG_GROUP_MAIN_DISPLAY,
274 /** Main group, IDragAndDropModeChangedEvent. */
275 LOG_GROUP_MAIN_DRAGANDDROPMODECHANGEDEVENT,
276 /** Main group, IEvent. */
277 LOG_GROUP_MAIN_EVENT,
278 /** Main group, IEventListener. */
279 LOG_GROUP_MAIN_EVENTLISTENER,
280 /** Main group, IEventSource. */
281 LOG_GROUP_MAIN_EVENTSOURCE,
282 /** Main group, IEventSourceChangedEvent. */
283 LOG_GROUP_MAIN_EVENTSOURCECHANGEDEVENT,
284 /** Main group, IExtPack. */
285 LOG_GROUP_MAIN_EXTPACK,
286 /** Main group, IExtPackBase. */
287 LOG_GROUP_MAIN_EXTPACKBASE,
288 /** Main group, IExtPackFile. */
289 LOG_GROUP_MAIN_EXTPACKFILE,
290 /** Main group, IExtPackManager. */
291 LOG_GROUP_MAIN_EXTPACKMANAGER,
292 /** Main group, IExtPackPlugIn. */
293 LOG_GROUP_MAIN_EXTPACKPLUGIN,
294 /** Main group, IExtraDataCanChangeEvent. */
295 LOG_GROUP_MAIN_EXTRADATACANCHANGEEVENT,
296 /** Main group, IExtraDataChangedEvent. */
297 LOG_GROUP_MAIN_EXTRADATACHANGEDEVENT,
298 /** Main group, IFile. */
299 LOG_GROUP_MAIN_FILE,
300 /** Main group, IFramebuffer. */
301 LOG_GROUP_MAIN_FRAMEBUFFER,
302 /** Main group, IFramebufferOverlay. */
303 LOG_GROUP_MAIN_FRAMEBUFFEROVERLAY,
304 /** Main group, IFsObjInfo. */
305 LOG_GROUP_MAIN_FSOBJINFO,
306 /** Main group, IGuest. */
307 LOG_GROUP_MAIN_GUEST,
308 /** Main group, IGuestDirectory. */
309 LOG_GROUP_MAIN_GUESTDIRECTORY,
310 /** Main group, IGuestErrorInfo. */
311 LOG_GROUP_MAIN_GUESTERRORINFO,
312 /** Main group, IGuestFile. */
313 LOG_GROUP_MAIN_GUESTFILE,
314 /** Main group, IGuestFileEvent. */
315 LOG_GROUP_MAIN_GUESTFILEEVENT,
316 /** Main group, IGuestFileIOEvent. */
317 LOG_GROUP_MAIN_GUESTFILEIOEVENT,
318 /** Main group, IGuestFileOffsetChangedEvent. */
319 LOG_GROUP_MAIN_GUESTFILEOFFSETCHANGEDEVENT,
320 /** Main group, IGuestFileReadEvent. */
321 LOG_GROUP_MAIN_GUESTFILEREADEVENT,
322 /** Main group, IGuestFileRegisteredEvent. */
323 LOG_GROUP_MAIN_GUESTFILEREGISTEREDEVENT,
324 /** Main group, IGuestFileStateChangedEvent. */
325 LOG_GROUP_MAIN_GUESTFILESTATECHANGEDEVENT,
326 /** Main group, IGuestFileWriteEvent. */
327 LOG_GROUP_MAIN_GUESTFILEWRITEEVENT,
328 /** Main group, IGuestFsObjInfo. */
329 LOG_GROUP_MAIN_GUESTFSOBJINFO,
330 /** Main group, IGuestKeyboardEvent. */
331 LOG_GROUP_MAIN_GUESTKEYBOARDEVENT,
332 /** Main group, IGuestMonitorChangedEvent. */
333 LOG_GROUP_MAIN_GUESTMONITORCHANGEDEVENT,
334 /** Main group, IGuestMouseEvent. */
335 LOG_GROUP_MAIN_GUESTMOUSEEVENT,
336 /** Main group, IGuestOSType. */
337 LOG_GROUP_MAIN_GUESTOSTYPE,
338 /** Main group, IGuestProcess. */
339 LOG_GROUP_MAIN_GUESTPROCESS,
340 /** Main group, IGuestProcessEvent. */
341 LOG_GROUP_MAIN_GUESTPROCESSEVENT,
342 /** Main group, IGuestProcessInputNotifyEvent. */
343 LOG_GROUP_MAIN_GUESTPROCESSINPUTNOTIFYEVENT,
344 /** Main group, IGuestProcessIOEvent. */
345 LOG_GROUP_MAIN_GUESTPROCESSIOEVENT,
346 /** Main group, IGuestProcessOutputEvent. */
347 LOG_GROUP_MAIN_GUESTPROCESSOUTPUTEVENT,
348 /** Main group, IGuestProcessRegisteredEvent. */
349 LOG_GROUP_MAIN_GUESTPROCESSREGISTEREDEVENT,
350 /** Main group, IGuestProcessStateChangedEvent. */
351 LOG_GROUP_MAIN_GUESTPROCESSSTATECHANGEDEVENT,
352 /** Main group, IGuestPropertyChangedEvent. */
353 LOG_GROUP_MAIN_GUESTPROPERTYCHANGEDEVENT,
354 /** Main group, IGuestSession. */
355 LOG_GROUP_MAIN_GUESTSESSION,
356 /** Main group, IGuestSessionEvent. */
357 LOG_GROUP_MAIN_GUESTSESSIONEVENT,
358 /** Main group, IGuestSessionRegisteredEvent. */
359 LOG_GROUP_MAIN_GUESTSESSIONREGISTEREDEVENT,
360 /** Main group, IGuestSessionStateChangedEvent. */
361 LOG_GROUP_MAIN_GUESTSESSIONSTATECHANGEDEVENT,
362 /** Main group, IHost. */
363 LOG_GROUP_MAIN_HOST,
364 /** Main group, IHostNetworkInterface. */
365 LOG_GROUP_MAIN_HOSTNETWORKINTERFACE,
366 /** Main group, IHostPCIDevicePlugEvent. */
367 LOG_GROUP_MAIN_HOSTPCIDEVICEPLUGEVENT,
368 /** Main group, IHostUSBDevice. */
369 LOG_GROUP_MAIN_HOSTUSBDEVICE,
370 /** Main group, IHostUSBDeviceFilter. */
371 LOG_GROUP_MAIN_HOSTUSBDEVICEFILTER,
372 /** Main group, IInternalMachineControl. */
373 LOG_GROUP_MAIN_INTERNALMACHINECONTROL,
374 /** Main group, IInternalSessionControl. */
375 LOG_GROUP_MAIN_INTERNALSESSIONCONTROL,
376 /** Main group, IKeyboard. */
377 LOG_GROUP_MAIN_KEYBOARD,
378 /** Main group, IKeyboardLedsChangedEvent. */
379 LOG_GROUP_MAIN_KEYBOARDLEDSCHANGEDEVENT,
380 /** Main group, IMachine. */
381 LOG_GROUP_MAIN_MACHINE,
382 /** Main group, IMachineDataChangedEvent. */
383 LOG_GROUP_MAIN_MACHINEDATACHANGEDEVENT,
384 /** Main group, IMachineDebugger. */
385 LOG_GROUP_MAIN_MACHINEDEBUGGER,
386 /** Main group, IMachineEvent. */
387 LOG_GROUP_MAIN_MACHINEEVENT,
388 /** Main group, IMachineRegisteredEvent. */
389 LOG_GROUP_MAIN_MACHINEREGISTEREDEVENT,
390 /** Main group, IMachineStateChangedEvent. */
391 LOG_GROUP_MAIN_MACHINESTATECHANGEDEVENT,
392 /** Main group, IMedium. */
393 LOG_GROUP_MAIN_MEDIUM,
394 /** Main group, IMediumAttachment. */
395 LOG_GROUP_MAIN_MEDIUMATTACHMENT,
396 /** Main group, IMediumChangedEvent. */
397 LOG_GROUP_MAIN_MEDIUMCHANGEDEVENT,
398 /** Main group, IMediumFormat. */
399 LOG_GROUP_MAIN_MEDIUMFORMAT,
400 /** Main group, IMediumRegisteredEvent. */
401 LOG_GROUP_MAIN_MEDIUMREGISTEREDEVENT,
402 /** Main group, IMouse. */
403 LOG_GROUP_MAIN_MOUSE,
404 /** Main group, IMouseCapabilityChangedEvent. */
405 LOG_GROUP_MAIN_MOUSECAPABILITYCHANGEDEVENT,
406 /** Main group, IMousePointerShapeChangedEvent. */
407 LOG_GROUP_MAIN_MOUSEPOINTERSHAPECHANGEDEVENT,
408 /** Main group, INATEngine. */
409 LOG_GROUP_MAIN_NATENGINE,
410 /** Main group, INATNetwork. */
411 LOG_GROUP_MAIN_NATNETWORK,
412 /** Main group, INATNetworkAlterEvent. */
413 LOG_GROUP_MAIN_NATNETWORKALTEREVENT,
414 /** Main group, INATNetworkChangedEvent. */
415 LOG_GROUP_MAIN_NATNETWORKCHANGEDEVENT,
416 /** Main group, INATNetworkCreationDeletionEvent. */
417 LOG_GROUP_MAIN_NATNETWORKCREATIONDELETIONEVENT,
418 /** Main group, INATNetworkPortForwardEvent. */
419 LOG_GROUP_MAIN_NATNETWORKPORTFORWARDEVENT,
420 /** Main group, INATNetworkSettingEvent. */
421 LOG_GROUP_MAIN_NATNETWORKSETTINGEVENT,
422 /** Main group, INATNetworkStartStopEvent. */
423 LOG_GROUP_MAIN_NATNETWORKSTARTSTOPEVENT,
424 /** Main group, INATRedirectEvent. */
425 LOG_GROUP_MAIN_NATREDIRECTEVENT,
426 /** Main group, INetworkAdapter. */
427 LOG_GROUP_MAIN_NETWORKADAPTER,
428 /** Main group, INetworkAdapterChangedEvent. */
429 LOG_GROUP_MAIN_NETWORKADAPTERCHANGEDEVENT,
430 /** Main group, IParallelPort. */
431 LOG_GROUP_MAIN_PARALLELPORT,
432 /** Main group, IParallelPortChangedEvent. */
433 LOG_GROUP_MAIN_PARALLELPORTCHANGEDEVENT,
434 /** Main group, IPCIAddress. */
435 LOG_GROUP_MAIN_PCIADDRESS,
436 /** Main group, IPCIDeviceAttachment. */
437 LOG_GROUP_MAIN_PCIDEVICEATTACHMENT,
438 /** Main group, IPerformanceCollector. */
439 LOG_GROUP_MAIN_PERFORMANCECOLLECTOR,
440 /** Main group, IPerformanceMetric. */
441 LOG_GROUP_MAIN_PERFORMANCEMETRIC,
442 /** Main group, IProcess. */
443 LOG_GROUP_MAIN_PROCESS,
444 /** Main group, IProgress. */
445 LOG_GROUP_MAIN_PROGRESS,
446 /** Main group, IReusableEvent. */
447 LOG_GROUP_MAIN_REUSABLEEVENT,
448 /** Main group, IRuntimeErrorEvent. */
449 LOG_GROUP_MAIN_RUNTIMEERROREVENT,
450 /** Main group, ISerialPort. */
451 LOG_GROUP_MAIN_SERIALPORT,
452 /** Main group, ISerialPortChangedEvent. */
453 LOG_GROUP_MAIN_SERIALPORTCHANGEDEVENT,
454 /** Main group, ISession. */
455 LOG_GROUP_MAIN_SESSION,
456 /** Main group, ISessionStateChangedEvent. */
457 LOG_GROUP_MAIN_SESSIONSTATECHANGEDEVENT,
458 /** Main group, ISharedFolder. */
459 LOG_GROUP_MAIN_SHAREDFOLDER,
460 /** Main group, ISharedFolderChangedEvent. */
461 LOG_GROUP_MAIN_SHAREDFOLDERCHANGEDEVENT,
462 /** Main group, IShowWindowEvent. */
463 LOG_GROUP_MAIN_SHOWWINDOWEVENT,
464 /** Main group, ISnapshot. */
465 LOG_GROUP_MAIN_SNAPSHOT,
466 /** Main group, ISnapshotChangedEvent. */
467 LOG_GROUP_MAIN_SNAPSHOTCHANGEDEVENT,
468 /** Main group, ISnapshotDeletedEvent. */
469 LOG_GROUP_MAIN_SNAPSHOTDELETEDEVENT,
470 /** Main group, ISnapshotEvent. */
471 LOG_GROUP_MAIN_SNAPSHOTEVENT,
472 /** Main group, ISnapshotTakenEvent. */
473 LOG_GROUP_MAIN_SNAPSHOTTAKENEVENT,
474 /** Main group, IStateChangedEvent. */
475 LOG_GROUP_MAIN_STATECHANGEDEVENT,
476 /** Main group, IStorageController. */
477 LOG_GROUP_MAIN_STORAGECONTROLLER,
478 /** Main group, IStorageControllerChangedEvent. */
479 LOG_GROUP_MAIN_STORAGECONTROLLERCHANGEDEVENT,
480 /** Main group, IStorageDeviceChangedEvent. */
481 LOG_GROUP_MAIN_STORAGEDEVICECHANGEDEVENT,
482 /** Main group, ISystemProperties. */
483 LOG_GROUP_MAIN_SYSTEMPROPERTIES,
484 /** Main group, IUSBController. */
485 LOG_GROUP_MAIN_USBCONTROLLER,
486 /** Main group, IUSBControllerChangedEvent. */
487 LOG_GROUP_MAIN_USBCONTROLLERCHANGEDEVENT,
488 /** Main group, IUSBDevice. */
489 LOG_GROUP_MAIN_USBDEVICE,
490 /** Main group, IUSBDeviceFilter. */
491 LOG_GROUP_MAIN_USBDEVICEFILTER,
492 /** Main group, IUSBDeviceStateChangedEvent. */
493 LOG_GROUP_MAIN_USBDEVICESTATECHANGEDEVENT,
494 /** Main group, IVBoxSVCAvailabilityChangedEvent. */
495 LOG_GROUP_MAIN_VBOXSVCAVAILABILITYCHANGEDEVENT,
496 /** Main group, IVetoEvent. */
497 LOG_GROUP_MAIN_VETOEVENT,
498 /** Main group, IVFSExplorer. */
499 LOG_GROUP_MAIN_VFSEXPLORER,
500 /** Main group, IVirtualBox. */
501 LOG_GROUP_MAIN_VIRTUALBOX,
502 /** Main group, IVirtualBoxClient. */
503 LOG_GROUP_MAIN_VIRTUALBOXCLIENT,
504 /** Main group, IVirtualSystemDescription. */
505 LOG_GROUP_MAIN_VIRTUALSYSTEMDESCRIPTION,
506 /** Main group, IVRDEServer. */
507 LOG_GROUP_MAIN_VRDESERVER,
508 /** Main group, IVRDEServerChangedEvent. */
509 LOG_GROUP_MAIN_VRDESERVERCHANGEDEVENT,
510 /** Main group, IVRDEServerInfo. */
511 LOG_GROUP_MAIN_VRDESERVERINFO,
512 /** Main group, IVRDEServerInfoChangedEvent. */
513 LOG_GROUP_MAIN_VRDESERVERINFOCHANGEDEVENT,
514 /** Misc. group intended for external use only. */
515 LOG_GROUP_MISC,
516 /** MM group. */
517 LOG_GROUP_MM,
518 /** MM group. */
519 LOG_GROUP_MM_HEAP,
520 /** MM group. */
521 LOG_GROUP_MM_HYPER,
522 /** MM Hypervisor Heap group. */
523 LOG_GROUP_MM_HYPER_HEAP,
524 /** MM Physical/Ram group. */
525 LOG_GROUP_MM_PHYS,
526 /** MM Page pool group. */
527 LOG_GROUP_MM_POOL,
528 /** The NAT service group */
529 LOG_GROUP_NAT_SERVICE,
530 /** The network adaptor driver group. */
531 LOG_GROUP_NET_ADP_DRV,
532 /** The network filter driver group. */
533 LOG_GROUP_NET_FLT_DRV,
534 /** The common network service group */
535 LOG_GROUP_NET_SERVICE,
536 /** Network traffic shaper driver group. */
537 LOG_GROUP_NET_SHAPER,
538 /** PATM group. */
539 LOG_GROUP_PATM,
540 /** PDM group. */
541 LOG_GROUP_PDM,
542 /** PDM Async completion group. */
543 LOG_GROUP_PDM_ASYNC_COMPLETION,
544 /** PDM Block cache group. */
545 LOG_GROUP_PDM_BLK_CACHE,
546 /** PDM Device group. */
547 LOG_GROUP_PDM_DEVICE,
548 /** PDM Driver group. */
549 LOG_GROUP_PDM_DRIVER,
550 /** PDM Loader group. */
551 LOG_GROUP_PDM_LDR,
552 /** PDM Loader group. */
553 LOG_GROUP_PDM_QUEUE,
554 /** PGM group. */
555 LOG_GROUP_PGM,
556 /** PGM dynamic mapping group. */
557 LOG_GROUP_PGM_DYNMAP,
558 /** PGM physical group. */
559 LOG_GROUP_PGM_PHYS,
560 /** PGM physical access group. */
561 LOG_GROUP_PGM_PHYS_ACCESS,
562 /** PGM shadow page pool group. */
563 LOG_GROUP_PGM_POOL,
564 /** PGM shared paging group. */
565 LOG_GROUP_PGM_SHARED,
566 /** REM group. */
567 LOG_GROUP_REM,
568 /** REM disassembly handler group. */
569 LOG_GROUP_REM_DISAS,
570 /** REM access handler group. */
571 LOG_GROUP_REM_HANDLER,
572 /** REM I/O port access group. */
573 LOG_GROUP_REM_IOPORT,
574 /** REM MMIO access group. */
575 LOG_GROUP_REM_MMIO,
576 /** REM Printf. */
577 LOG_GROUP_REM_PRINTF,
578 /** REM running group. */
579 LOG_GROUP_REM_RUN,
580 /** SELM group. */
581 LOG_GROUP_SELM,
582 /** Shared clipboard host service group. */
583 LOG_GROUP_SHARED_CLIPBOARD,
584 /** Chromium OpenGL host service group. */
585 LOG_GROUP_SHARED_CROPENGL,
586 /** Shared folders host service group. */
587 LOG_GROUP_SHARED_FOLDERS,
588 /** OpenGL host service group. */
589 LOG_GROUP_SHARED_OPENGL,
590 /** The internal networking service group. */
591 LOG_GROUP_SRV_INTNET,
592 /** SSM group. */
593 LOG_GROUP_SSM,
594 /** STAM group. */
595 LOG_GROUP_STAM,
596 /** SUP group. */
597 LOG_GROUP_SUP,
598 /** SUPport driver group. */
599 LOG_GROUP_SUP_DRV,
600 /** TM group. */
601 LOG_GROUP_TM,
602 /** TRPM group. */
603 LOG_GROUP_TRPM,
604 /** USB cardreader group. */
605 LOG_GROUP_USB_CARDREADER,
606 /** USB driver group. */
607 LOG_GROUP_USB_DRV,
608 /** USBFilter group. */
609 LOG_GROUP_USB_FILTER,
610 /** USB keyboard device group. */
611 LOG_GROUP_USB_KBD,
612 /** USB mouse/tablet device group. */
613 LOG_GROUP_USB_MOUSE,
614 /** MSD USB device group. */
615 LOG_GROUP_USB_MSD,
616 /** USB webcam. */
617 LOG_GROUP_USB_WEBCAM,
618 /** VBox Guest Additions Driver (VBoxGuest). */
619 LOG_GROUP_VBGD,
620 /** VBox Guest Additions Library. */
621 LOG_GROUP_VBGL,
622 /** Generic virtual disk layer. */
623 LOG_GROUP_VD,
624 /** DMG virtual disk backend. */
625 LOG_GROUP_VD_DMG,
626 /** iSCSI virtual disk backend. */
627 LOG_GROUP_VD_ISCSI,
628 /** Parallels HDD virtual disk backend. */
629 LOG_GROUP_VD_PARALLELS,
630 /** QCOW virtual disk backend. */
631 LOG_GROUP_VD_QCOW,
632 /** QED virtual disk backend. */
633 LOG_GROUP_VD_QED,
634 /** Raw virtual disk backend. */
635 LOG_GROUP_VD_RAW,
636 /** VDI virtual disk backend. */
637 LOG_GROUP_VD_VDI,
638 /** VHD virtual disk backend. */
639 LOG_GROUP_VD_VHD,
640 /** VMDK virtual disk backend. */
641 LOG_GROUP_VD_VMDK,
642 /** VM group. */
643 LOG_GROUP_VM,
644 /** VMM group. */
645 LOG_GROUP_VMM,
646 /** VRDE group */
647 LOG_GROUP_VRDE,
648 /** VRDP group */
649 LOG_GROUP_VRDP,
650 /** VSCSI group */
651 LOG_GROUP_VSCSI,
652 /** Webservice group. */
653 LOG_GROUP_WEBSERVICE
654 /* !!!ALPHABETICALLY!!! */
655} VBOX_LOGGROUP;
656
657
658/** @def VBOX_LOGGROUP_NAMES
659 * VirtualBox Logging group names.
660 *
661 * Must correspond 100% to LOGGROUP!
662 * Don't forget commas!
663 *
664 * @remark It should be pretty obvious, but just to have
665 * mentioned it, the values are sorted alphabetically (using the
666 * english alphabet) except for _DEFAULT which is always first.
667 *
668 * If anyone might be wondering what the alphabet looks like:
669 * a b c d e f g h i j k l m n o p q r s t u v w x y z
670 */
671#define VBOX_LOGGROUP_NAMES \
672{ \
673 RT_LOGGROUP_NAMES, \
674 "DEFAULT", \
675 "AUTOLOGON", \
676 "CFGM", \
677 "CPUM", \
678 "CSAM", \
679 "DBGC", \
680 "DBGF", \
681 "DBGF_INFO", \
682 "DBGG", \
683 "DEV", \
684 "DEV_ACPI", \
685 "DEV_AHCI", \
686 "DEV_APIC", \
687 "DEV_AUDIO", \
688 "DEV_BUSLOGIC", \
689 "DEV_DMA", \
690 "DEV_E1000", \
691 "DEV_EFI", \
692 "DEV_FDC", \
693 "DEV_HPET", \
694 "DEV_IDE", \
695 "DEV_INIP", \
696 "DEV_KBD", \
697 "DEV_LPC", \
698 "DEV_LSILOGICSCSI", \
699 "DEV_NE2000", \
700 "DEV_PARALLEL", \
701 "DEV_PC", \
702 "DEV_PC_ARCH", \
703 "DEV_PC_BIOS", \
704 "DEV_PCI", \
705 "DEV_PCI_RAW", \
706 "DEV_PCNET", \
707 "DEV_PIC", \
708 "DEV_PIT", \
709 "DEV_RTC", \
710 "DEV_SERIAL", \
711 "DEV_SMC", \
712 "DEV_USB", \
713 "DEV_VGA", \
714 "DEV_VIRTIO", \
715 "DEV_VIRTIO_NET", \
716 "DEV_VMM", \
717 "DEV_VMM_BACKDOOR", \
718 "DEV_VMM_STDERR", \
719 "DIS", \
720 "DRV", \
721 "DRV_ACPI", \
722 "DRV_BLOCK", \
723 "DRV_CHAR", \
724 "DRV_DISK_INTEGRITY", \
725 "DRV_DISPLAY", \
726 "DRV_FLOPPY", \
727 "DRV_HOST_BASE", \
728 "DRV_HOST_DVD", \
729 "DRV_HOST_FLOPPY", \
730 "DRV_HOST_PARALLEL", \
731 "DRV_HOST_SERIAL", \
732 "DRV_INTNET", \
733 "DRV_ISO", \
734 "DRV_KBD_QUEUE", \
735 "DRV_LWIP", \
736 "DRV_MINIPORT", \
737 "DRV_MOUSE", \
738 "DRV_MOUSE_QUEUE", \
739 "DRV_NAMEDPIPE", \
740 "DRV_NAT", \
741 "DRV_RAW_IMAGE", \
742 "DRV_SCSI", \
743 "DRV_SCSIHOST", \
744 "DRV_TRANSPORT_ASYNC", \
745 "DRV_TUN", \
746 "DRV_UDPTUNNEL", \
747 "DRV_USBPROXY", \
748 "DRV_VBOXHDD", \
749 "DRV_VD", \
750 "DRV_VSWITCH", \
751 "DRV_VUSB", \
752 "EM", \
753 "FTM", \
754 "GMM", \
755 "GUEST_CONTROL", \
756 "GUI", \
757 "GVMM", \
758 "HGCM", \
759 "HGSMI", \
760 "HM", \
761 "IEM", \
762 "IOM", \
763 "IPC", \
764 "MAIN", \
765 "MAIN_ADDITIONSFACILITY", \
766 "MAIN_ADDITIONSSTATECHANGEDEVENT", \
767 "MAIN_APPLIANCE", \
768 "MAIN_AUDIOADAPTER", \
769 "MAIN_BANDWIDTHCONTROL", \
770 "MAIN_BANDWIDTHGROUP", \
771 "MAIN_BANDWIDTHGROUPCHANGEDEVENT", \
772 "MAIN_BIOSSETTINGS", \
773 "MAIN_CANSHOWWINDOWEVENT", \
774 "MAIN_CLIPBOARDMODECHANGEDEVENT", \
775 "MAIN_CONSOLE", \
776 "MAIN_CPUCHANGEDEVENT", \
777 "MAIN_CPUEXECUTIONCAPCHANGEDEVENT", \
778 "MAIN_DHCPSERVER", \
779 "MAIN_DIRECTORY", \
780 "MAIN_DISPLAY", \
781 "MAIN_DRAGANDDROPMODECHANGEDEVENT", \
782 "MAIN_EVENT", \
783 "MAIN_EVENTLISTENER", \
784 "MAIN_EVENTSOURCE", \
785 "MAIN_EVENTSOURCECHANGEDEVENT", \
786 "MAIN_EXTPACK", \
787 "MAIN_EXTPACKBASE", \
788 "MAIN_EXTPACKFILE", \
789 "MAIN_EXTPACKMANAGER", \
790 "MAIN_EXTPACKPLUGIN", \
791 "MAIN_EXTRADATACANCHANGEEVENT", \
792 "MAIN_EXTRADATACHANGEDEVENT", \
793 "MAIN_FILE", \
794 "MAIN_FRAMEBUFFER", \
795 "MAIN_FRAMEBUFFEROVERLAY", \
796 "MAIN_FSOBJINFO", \
797 "MAIN_GUEST", \
798 "MAIN_GUESTDIRECTORY", \
799 "MAIN_GUESTERRORINFO", \
800 "MAIN_GUESTFILE", \
801 "MAIN_GUESTFILEEVENT", \
802 "MAIN_GUESTFILEIOEVENT", \
803 "MAIN_GUESTFILEOFFSETCHANGEDEVENT", \
804 "MAIN_GUESTFILEREADEVENT", \
805 "MAIN_GUESTFILEREGISTEREDEVENT", \
806 "MAIN_GUESTFILESTATECHANGEDEVENT", \
807 "MAIN_GUESTFILEWRITEEVENT", \
808 "MAIN_GUESTFSOBJINFO", \
809 "MAIN_GUESTKEYBOARDEVENT", \
810 "MAIN_GUESTMONITORCHANGEDEVENT", \
811 "MAIN_GUESTMOUSEEVENT", \
812 "MAIN_GUESTOSTYPE", \
813 "MAIN_GUESTPROCESS", \
814 "MAIN_GUESTPROCESSEVENT", \
815 "MAIN_GUESTPROCESSINPUTNOTIFYEVENT", \
816 "MAIN_GUESTPROCESSIOEVENT", \
817 "MAIN_GUESTPROCESSOUTPUTEVENT", \
818 "MAIN_GUESTPROCESSREGISTEREDEVENT", \
819 "MAIN_GUESTPROCESSSTATECHANGEDEVENT", \
820 "MAIN_GUESTPROPERTYCHANGEDEVENT", \
821 "MAIN_GUESTSESSION", \
822 "MAIN_GUESTSESSIONEVENT", \
823 "MAIN_GUESTSESSIONREGISTEREDEVENT", \
824 "MAIN_GUESTSESSIONSTATECHANGEDEVENT", \
825 "MAIN_HOST", \
826 "MAIN_HOSTNETWORKINTERFACE", \
827 "MAIN_HOSTPCIDEVICEPLUGEVENT", \
828 "MAIN_HOSTUSBDEVICE", \
829 "MAIN_HOSTUSBDEVICEFILTER", \
830 "MAIN_INTERNALMACHINECONTROL", \
831 "MAIN_INTERNALSESSIONCONTROL", \
832 "MAIN_KEYBOARD", \
833 "MAIN_KEYBOARDLEDSCHANGEDEVENT", \
834 "MAIN_MACHINE", \
835 "MAIN_MACHINEDATACHANGEDEVENT", \
836 "MAIN_MACHINEDEBUGGER", \
837 "MAIN_MACHINEEVENT", \
838 "MAIN_MACHINEREGISTEREDEVENT", \
839 "MAIN_MACHINESTATECHANGEDEVENT", \
840 "MAIN_MEDIUM", \
841 "MAIN_MEDIUMATTACHMENT", \
842 "MAIN_MEDIUMCHANGEDEVENT", \
843 "MAIN_MEDIUMFORMAT", \
844 "MAIN_MEDIUMREGISTEREDEVENT", \
845 "MAIN_MOUSE", \
846 "MAIN_MOUSECAPABILITYCHANGEDEVENT", \
847 "MAIN_MOUSEPOINTERSHAPECHANGEDEVENT", \
848 "MAIN_NATENGINE", \
849 "MAIN_NATNETWORK", \
850 "MAIN_NATNETWORKALTEREVENT", \
851 "MAIN_NATNETWORKCHANGEDEVENT", \
852 "MAIN_NATNETWORKCREATIONDELETIONEVENT", \
853 "MAIN_NATNETWORKPORTFORWARDEVENT", \
854 "MAIN_NATNETWORKSETTINGEVENT", \
855 "MAIN_NATNETWORKSTARTSTOPEVENT", \
856 "MAIN_NATREDIRECTEVENT", \
857 "MAIN_NETWORKADAPTER", \
858 "MAIN_NETWORKADAPTERCHANGEDEVENT", \
859 "MAIN_PARALLELPORT", \
860 "MAIN_PARALLELPORTCHANGEDEVENT", \
861 "MAIN_PCIADDRESS", \
862 "MAIN_PCIDEVICEATTACHMENT", \
863 "MAIN_PERFORMANCECOLLECTOR", \
864 "MAIN_PERFORMANCEMETRIC", \
865 "MAIN_PROCESS", \
866 "MAIN_PROGRESS", \
867 "MAIN_REUSABLEEVENT", \
868 "MAIN_RUNTIMEERROREVENT", \
869 "MAIN_SERIALPORT", \
870 "MAIN_SERIALPORTCHANGEDEVENT", \
871 "MAIN_SESSION", \
872 "MAIN_SESSIONSTATECHANGEDEVENT", \
873 "MAIN_SHAREDFOLDER", \
874 "MAIN_SHAREDFOLDERCHANGEDEVENT", \
875 "MAIN_SHOWWINDOWEVENT", \
876 "MAIN_SNAPSHOT", \
877 "MAIN_SNAPSHOTCHANGEDEVENT", \
878 "MAIN_SNAPSHOTDELETEDEVENT", \
879 "MAIN_SNAPSHOTEVENT", \
880 "MAIN_SNAPSHOTTAKENEVENT", \
881 "MAIN_STATECHANGEDEVENT", \
882 "MAIN_STORAGECONTROLLER", \
883 "MAIN_STORAGECONTROLLERCHANGEDEVENT", \
884 "MAIN_STORAGEDEVICECHANGEDEVENT", \
885 "MAIN_SYSTEMPROPERTIES", \
886 "MAIN_USBCONTROLLER", \
887 "MAIN_USBCONTROLLERCHANGEDEVENT", \
888 "MAIN_USBDEVICE", \
889 "MAIN_USBDEVICEFILTER", \
890 "MAIN_USBDEVICESTATECHANGEDEVENT", \
891 "MAIN_VBOXSVCAVAILABILITYCHANGEDEVENT", \
892 "MAIN_VETOEVENT", \
893 "MAIN_VFSEXPLORER", \
894 "MAIN_VIRTUALBOX", \
895 "MAIN_VIRTUALBOXCLIENT", \
896 "MAIN_VIRTUALSYSTEMDESCRIPTION", \
897 "MAIN_VRDESERVER", \
898 "MAIN_VRDESERVERCHANGEDEVENT", \
899 "MAIN_VRDESERVERINFO", \
900 "MAIN_VRDESERVERINFOCHANGEDEVENT", \
901 "MISC", \
902 "MM", \
903 "MM_HEAP", \
904 "MM_HYPER", \
905 "MM_HYPER_HEAP",\
906 "MM_PHYS", \
907 "MM_POOL", \
908 "NAT_SERVICE", \
909 "NET_ADP_DRV", \
910 "NET_FLT_DRV", \
911 "NET_SERVICE", \
912 "NET_SHAPER", \
913 "PATM", \
914 "PDM", \
915 "PDM_ASYNC_COMPLETION", \
916 "PDM_BLK_CACHE", \
917 "PDM_DEVICE", \
918 "PDM_DRIVER", \
919 "PDM_LDR", \
920 "PDM_QUEUE", \
921 "PGM", \
922 "PGM_DYNMAP", \
923 "PGM_PHYS", \
924 "PGM_PHYS_ACCESS",\
925 "PGM_POOL", \
926 "PGM_SHARED", \
927 "REM", \
928 "REM_DISAS", \
929 "REM_HANDLER", \
930 "REM_IOPORT", \
931 "REM_MMIO", \
932 "REM_PRINTF", \
933 "REM_RUN", \
934 "SELM", \
935 "SHARED_CLIPBOARD",\
936 "SHARED_CROPENGL",\
937 "SHARED_FOLDERS",\
938 "SHARED_OPENGL",\
939 "SRV_INTNET", \
940 "SSM", \
941 "STAM", \
942 "SUP", \
943 "SUP_DRV", \
944 "TM", \
945 "TRPM", \
946 "USB_CARDREADER",\
947 "USB_DRV", \
948 "USB_FILTER", \
949 "USB_KBD", \
950 "USB_MOUSE", \
951 "USB_MSD", \
952 "USB_WEBCAM", \
953 "VBGD", \
954 "VBGL", \
955 "VD", \
956 "VD_DMG", \
957 "VD_ISCSI", \
958 "VD_PARALLELS", \
959 "VD_QCOW", \
960 "VD_QED", \
961 "VD_RAW", \
962 "VD_VDI", \
963 "VD_VHD", \
964 "VD_VMDK", \
965 "VM", \
966 "VMM", \
967 "VRDE", \
968 "VRDP", \
969 "VSCSI", \
970 "WEBSERVICE", \
971}
972
973/** @} */
974#endif
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