VirtualBox

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

Last change on this file since 47376 was 47376, checked in by vboxsync, 11 years ago

Main/USB: USB Controller implementation rework. Moved filter handling into a separate interface

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 30.5 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, IGuestUserStateChangedEvent. */
363 LOG_GROUP_MAIN_GUESTUSERSTATECHANGEDEVENT,
364 /** Main group, IHost. */
365 LOG_GROUP_MAIN_HOST,
366 /** Main group, IHostNetworkInterface. */
367 LOG_GROUP_MAIN_HOSTNETWORKINTERFACE,
368 /** Main group, IHostPCIDevicePlugEvent. */
369 LOG_GROUP_MAIN_HOSTPCIDEVICEPLUGEVENT,
370 /** Main group, IHostUSBDevice. */
371 LOG_GROUP_MAIN_HOSTUSBDEVICE,
372 /** Main group, IHostUSBDeviceFilter. */
373 LOG_GROUP_MAIN_HOSTUSBDEVICEFILTER,
374 /** Main group, IInternalMachineControl. */
375 LOG_GROUP_MAIN_INTERNALMACHINECONTROL,
376 /** Main group, IInternalSessionControl. */
377 LOG_GROUP_MAIN_INTERNALSESSIONCONTROL,
378 /** Main group, IKeyboard. */
379 LOG_GROUP_MAIN_KEYBOARD,
380 /** Main group, IKeyboardLedsChangedEvent. */
381 LOG_GROUP_MAIN_KEYBOARDLEDSCHANGEDEVENT,
382 /** Main group, IMachine. */
383 LOG_GROUP_MAIN_MACHINE,
384 /** Main group, IMachineDataChangedEvent. */
385 LOG_GROUP_MAIN_MACHINEDATACHANGEDEVENT,
386 /** Main group, IMachineDebugger. */
387 LOG_GROUP_MAIN_MACHINEDEBUGGER,
388 /** Main group, IMachineEvent. */
389 LOG_GROUP_MAIN_MACHINEEVENT,
390 /** Main group, IMachineRegisteredEvent. */
391 LOG_GROUP_MAIN_MACHINEREGISTEREDEVENT,
392 /** Main group, IMachineStateChangedEvent. */
393 LOG_GROUP_MAIN_MACHINESTATECHANGEDEVENT,
394 /** Main group, IMedium. */
395 LOG_GROUP_MAIN_MEDIUM,
396 /** Main group, IMediumAttachment. */
397 LOG_GROUP_MAIN_MEDIUMATTACHMENT,
398 /** Main group, IMediumChangedEvent. */
399 LOG_GROUP_MAIN_MEDIUMCHANGEDEVENT,
400 /** Main group, IMediumFormat. */
401 LOG_GROUP_MAIN_MEDIUMFORMAT,
402 /** Main group, IMediumRegisteredEvent. */
403 LOG_GROUP_MAIN_MEDIUMREGISTEREDEVENT,
404 /** Main group, IMouse. */
405 LOG_GROUP_MAIN_MOUSE,
406 /** Main group, IMouseCapabilityChangedEvent. */
407 LOG_GROUP_MAIN_MOUSECAPABILITYCHANGEDEVENT,
408 /** Main group, IMousePointerShapeChangedEvent. */
409 LOG_GROUP_MAIN_MOUSEPOINTERSHAPECHANGEDEVENT,
410 /** Main group, INATEngine. */
411 LOG_GROUP_MAIN_NATENGINE,
412 /** Main group, INATNetwork. */
413 LOG_GROUP_MAIN_NATNETWORK,
414 /** Main group, INATNetworkAlterEvent. */
415 LOG_GROUP_MAIN_NATNETWORKALTEREVENT,
416 /** Main group, INATNetworkChangedEvent. */
417 LOG_GROUP_MAIN_NATNETWORKCHANGEDEVENT,
418 /** Main group, INATNetworkCreationDeletionEvent. */
419 LOG_GROUP_MAIN_NATNETWORKCREATIONDELETIONEVENT,
420 /** Main group, INATNetworkPortForwardEvent. */
421 LOG_GROUP_MAIN_NATNETWORKPORTFORWARDEVENT,
422 /** Main group, INATNetworkSettingEvent. */
423 LOG_GROUP_MAIN_NATNETWORKSETTINGEVENT,
424 /** Main group, INATNetworkStartStopEvent. */
425 LOG_GROUP_MAIN_NATNETWORKSTARTSTOPEVENT,
426 /** Main group, INATRedirectEvent. */
427 LOG_GROUP_MAIN_NATREDIRECTEVENT,
428 /** Main group, INetworkAdapter. */
429 LOG_GROUP_MAIN_NETWORKADAPTER,
430 /** Main group, INetworkAdapterChangedEvent. */
431 LOG_GROUP_MAIN_NETWORKADAPTERCHANGEDEVENT,
432 /** Main group, IParallelPort. */
433 LOG_GROUP_MAIN_PARALLELPORT,
434 /** Main group, IParallelPortChangedEvent. */
435 LOG_GROUP_MAIN_PARALLELPORTCHANGEDEVENT,
436 /** Main group, IPCIAddress. */
437 LOG_GROUP_MAIN_PCIADDRESS,
438 /** Main group, IPCIDeviceAttachment. */
439 LOG_GROUP_MAIN_PCIDEVICEATTACHMENT,
440 /** Main group, IPerformanceCollector. */
441 LOG_GROUP_MAIN_PERFORMANCECOLLECTOR,
442 /** Main group, IPerformanceMetric. */
443 LOG_GROUP_MAIN_PERFORMANCEMETRIC,
444 /** Main group, IProcess. */
445 LOG_GROUP_MAIN_PROCESS,
446 /** Main group, IProgress. */
447 LOG_GROUP_MAIN_PROGRESS,
448 /** Main group, IReusableEvent. */
449 LOG_GROUP_MAIN_REUSABLEEVENT,
450 /** Main group, IRuntimeErrorEvent. */
451 LOG_GROUP_MAIN_RUNTIMEERROREVENT,
452 /** Main group, ISerialPort. */
453 LOG_GROUP_MAIN_SERIALPORT,
454 /** Main group, ISerialPortChangedEvent. */
455 LOG_GROUP_MAIN_SERIALPORTCHANGEDEVENT,
456 /** Main group, ISession. */
457 LOG_GROUP_MAIN_SESSION,
458 /** Main group, ISessionStateChangedEvent. */
459 LOG_GROUP_MAIN_SESSIONSTATECHANGEDEVENT,
460 /** Main group, ISharedFolder. */
461 LOG_GROUP_MAIN_SHAREDFOLDER,
462 /** Main group, ISharedFolderChangedEvent. */
463 LOG_GROUP_MAIN_SHAREDFOLDERCHANGEDEVENT,
464 /** Main group, IShowWindowEvent. */
465 LOG_GROUP_MAIN_SHOWWINDOWEVENT,
466 /** Main group, ISnapshot. */
467 LOG_GROUP_MAIN_SNAPSHOT,
468 /** Main group, ISnapshotChangedEvent. */
469 LOG_GROUP_MAIN_SNAPSHOTCHANGEDEVENT,
470 /** Main group, ISnapshotDeletedEvent. */
471 LOG_GROUP_MAIN_SNAPSHOTDELETEDEVENT,
472 /** Main group, ISnapshotEvent. */
473 LOG_GROUP_MAIN_SNAPSHOTEVENT,
474 /** Main group, ISnapshotTakenEvent. */
475 LOG_GROUP_MAIN_SNAPSHOTTAKENEVENT,
476 /** Main group, IStateChangedEvent. */
477 LOG_GROUP_MAIN_STATECHANGEDEVENT,
478 /** Main group, IStorageController. */
479 LOG_GROUP_MAIN_STORAGECONTROLLER,
480 /** Main group, IStorageControllerChangedEvent. */
481 LOG_GROUP_MAIN_STORAGECONTROLLERCHANGEDEVENT,
482 /** Main group, IStorageDeviceChangedEvent. */
483 LOG_GROUP_MAIN_STORAGEDEVICECHANGEDEVENT,
484 /** Main group, ISystemProperties. */
485 LOG_GROUP_MAIN_SYSTEMPROPERTIES,
486 /** Main group, IUSBController. */
487 LOG_GROUP_MAIN_USBCONTROLLER,
488 /** Main group, IUSBControllerChangedEvent. */
489 LOG_GROUP_MAIN_USBCONTROLLERCHANGEDEVENT,
490 /** Main group, IUSBDevice. */
491 LOG_GROUP_MAIN_USBDEVICE,
492 /** Main group, IUSBDeviceFilter. */
493 LOG_GROUP_MAIN_USBDEVICEFILTER,
494 /** Main group, IUSBDeviceFilters. */
495 LOG_GROUP_MAIN_USBDEVICEFILTERS,
496 /** Main group, IUSBDeviceStateChangedEvent. */
497 LOG_GROUP_MAIN_USBDEVICESTATECHANGEDEVENT,
498 /** Main group, IVBoxSVCAvailabilityChangedEvent. */
499 LOG_GROUP_MAIN_VBOXSVCAVAILABILITYCHANGEDEVENT,
500 /** Main group, IVetoEvent. */
501 LOG_GROUP_MAIN_VETOEVENT,
502 /** Main group, IVFSExplorer. */
503 LOG_GROUP_MAIN_VFSEXPLORER,
504 /** Main group, IVideoCaptureChangedEvent. */
505 LOG_GROUP_MAIN_VIDEOCAPTURECHANGEDEVENT,
506 /** Main group, IVirtualBox. */
507 LOG_GROUP_MAIN_VIRTUALBOX,
508 /** Main group, IVirtualBoxClient. */
509 LOG_GROUP_MAIN_VIRTUALBOXCLIENT,
510 /** Main group, IVirtualSystemDescription. */
511 LOG_GROUP_MAIN_VIRTUALSYSTEMDESCRIPTION,
512 /** Main group, IVRDEServer. */
513 LOG_GROUP_MAIN_VRDESERVER,
514 /** Main group, IVRDEServerChangedEvent. */
515 LOG_GROUP_MAIN_VRDESERVERCHANGEDEVENT,
516 /** Main group, IVRDEServerInfo. */
517 LOG_GROUP_MAIN_VRDESERVERINFO,
518 /** Main group, IVRDEServerInfoChangedEvent. */
519 LOG_GROUP_MAIN_VRDESERVERINFOCHANGEDEVENT,
520 /** Misc. group intended for external use only. */
521 LOG_GROUP_MISC,
522 /** MM group. */
523 LOG_GROUP_MM,
524 /** MM group. */
525 LOG_GROUP_MM_HEAP,
526 /** MM group. */
527 LOG_GROUP_MM_HYPER,
528 /** MM Hypervisor Heap group. */
529 LOG_GROUP_MM_HYPER_HEAP,
530 /** MM Physical/Ram group. */
531 LOG_GROUP_MM_PHYS,
532 /** MM Page pool group. */
533 LOG_GROUP_MM_POOL,
534 /** The NAT service group */
535 LOG_GROUP_NAT_SERVICE,
536 /** The network adaptor driver group. */
537 LOG_GROUP_NET_ADP_DRV,
538 /** The network filter driver group. */
539 LOG_GROUP_NET_FLT_DRV,
540 /** The common network service group */
541 LOG_GROUP_NET_SERVICE,
542 /** Network traffic shaper driver group. */
543 LOG_GROUP_NET_SHAPER,
544 /** PATM group. */
545 LOG_GROUP_PATM,
546 /** PDM group. */
547 LOG_GROUP_PDM,
548 /** PDM Async completion group. */
549 LOG_GROUP_PDM_ASYNC_COMPLETION,
550 /** PDM Block cache group. */
551 LOG_GROUP_PDM_BLK_CACHE,
552 /** PDM Device group. */
553 LOG_GROUP_PDM_DEVICE,
554 /** PDM Driver group. */
555 LOG_GROUP_PDM_DRIVER,
556 /** PDM Loader group. */
557 LOG_GROUP_PDM_LDR,
558 /** PDM Loader group. */
559 LOG_GROUP_PDM_QUEUE,
560 /** PGM group. */
561 LOG_GROUP_PGM,
562 /** PGM dynamic mapping group. */
563 LOG_GROUP_PGM_DYNMAP,
564 /** PGM physical group. */
565 LOG_GROUP_PGM_PHYS,
566 /** PGM physical access group. */
567 LOG_GROUP_PGM_PHYS_ACCESS,
568 /** PGM shadow page pool group. */
569 LOG_GROUP_PGM_POOL,
570 /** PGM shared paging group. */
571 LOG_GROUP_PGM_SHARED,
572 /** REM group. */
573 LOG_GROUP_REM,
574 /** REM disassembly handler group. */
575 LOG_GROUP_REM_DISAS,
576 /** REM access handler group. */
577 LOG_GROUP_REM_HANDLER,
578 /** REM I/O port access group. */
579 LOG_GROUP_REM_IOPORT,
580 /** REM MMIO access group. */
581 LOG_GROUP_REM_MMIO,
582 /** REM Printf. */
583 LOG_GROUP_REM_PRINTF,
584 /** REM running group. */
585 LOG_GROUP_REM_RUN,
586 /** SELM group. */
587 LOG_GROUP_SELM,
588 /** Shared clipboard host service group. */
589 LOG_GROUP_SHARED_CLIPBOARD,
590 /** Chromium OpenGL host service group. */
591 LOG_GROUP_SHARED_CROPENGL,
592 /** Shared folders host service group. */
593 LOG_GROUP_SHARED_FOLDERS,
594 /** OpenGL host service group. */
595 LOG_GROUP_SHARED_OPENGL,
596 /** The internal networking service group. */
597 LOG_GROUP_SRV_INTNET,
598 /** SSM group. */
599 LOG_GROUP_SSM,
600 /** STAM group. */
601 LOG_GROUP_STAM,
602 /** SUP group. */
603 LOG_GROUP_SUP,
604 /** SUPport driver group. */
605 LOG_GROUP_SUP_DRV,
606 /** TM group. */
607 LOG_GROUP_TM,
608 /** TRPM group. */
609 LOG_GROUP_TRPM,
610 /** USB cardreader group. */
611 LOG_GROUP_USB_CARDREADER,
612 /** USB driver group. */
613 LOG_GROUP_USB_DRV,
614 /** USBFilter group. */
615 LOG_GROUP_USB_FILTER,
616 /** USB keyboard device group. */
617 LOG_GROUP_USB_KBD,
618 /** USB mouse/tablet device group. */
619 LOG_GROUP_USB_MOUSE,
620 /** MSD USB device group. */
621 LOG_GROUP_USB_MSD,
622 /** USB webcam. */
623 LOG_GROUP_USB_WEBCAM,
624 /** VBox Guest Additions Driver (VBoxGuest). */
625 LOG_GROUP_VBGD,
626 /** VBox Guest Additions Library. */
627 LOG_GROUP_VBGL,
628 /** Generic virtual disk layer. */
629 LOG_GROUP_VD,
630 /** DMG virtual disk backend. */
631 LOG_GROUP_VD_DMG,
632 /** iSCSI virtual disk backend. */
633 LOG_GROUP_VD_ISCSI,
634 /** Parallels HDD virtual disk backend. */
635 LOG_GROUP_VD_PARALLELS,
636 /** QCOW virtual disk backend. */
637 LOG_GROUP_VD_QCOW,
638 /** QED virtual disk backend. */
639 LOG_GROUP_VD_QED,
640 /** Raw virtual disk backend. */
641 LOG_GROUP_VD_RAW,
642 /** VDI virtual disk backend. */
643 LOG_GROUP_VD_VDI,
644 /** VHD virtual disk backend. */
645 LOG_GROUP_VD_VHD,
646 /** VMDK virtual disk backend. */
647 LOG_GROUP_VD_VMDK,
648 /** VM group. */
649 LOG_GROUP_VM,
650 /** VMM group. */
651 LOG_GROUP_VMM,
652 /** VRDE group */
653 LOG_GROUP_VRDE,
654 /** VRDP group */
655 LOG_GROUP_VRDP,
656 /** VSCSI group */
657 LOG_GROUP_VSCSI,
658 /** Webservice group. */
659 LOG_GROUP_WEBSERVICE
660 /* !!!ALPHABETICALLY!!! */
661} VBOX_LOGGROUP;
662
663
664/** @def VBOX_LOGGROUP_NAMES
665 * VirtualBox Logging group names.
666 *
667 * Must correspond 100% to LOGGROUP!
668 * Don't forget commas!
669 *
670 * @remark It should be pretty obvious, but just to have
671 * mentioned it, the values are sorted alphabetically (using the
672 * english alphabet) except for _DEFAULT which is always first.
673 *
674 * If anyone might be wondering what the alphabet looks like:
675 * 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
676 */
677#define VBOX_LOGGROUP_NAMES \
678{ \
679 RT_LOGGROUP_NAMES, \
680 "DEFAULT", \
681 "AUTOLOGON", \
682 "CFGM", \
683 "CPUM", \
684 "CSAM", \
685 "DBGC", \
686 "DBGF", \
687 "DBGF_INFO", \
688 "DBGG", \
689 "DEV", \
690 "DEV_ACPI", \
691 "DEV_AHCI", \
692 "DEV_APIC", \
693 "DEV_AUDIO", \
694 "DEV_BUSLOGIC", \
695 "DEV_DMA", \
696 "DEV_E1000", \
697 "DEV_EFI", \
698 "DEV_FDC", \
699 "DEV_HPET", \
700 "DEV_IDE", \
701 "DEV_INIP", \
702 "DEV_KBD", \
703 "DEV_LPC", \
704 "DEV_LSILOGICSCSI", \
705 "DEV_NE2000", \
706 "DEV_PARALLEL", \
707 "DEV_PC", \
708 "DEV_PC_ARCH", \
709 "DEV_PC_BIOS", \
710 "DEV_PCI", \
711 "DEV_PCI_RAW", \
712 "DEV_PCNET", \
713 "DEV_PIC", \
714 "DEV_PIT", \
715 "DEV_RTC", \
716 "DEV_SERIAL", \
717 "DEV_SMC", \
718 "DEV_USB", \
719 "DEV_VGA", \
720 "DEV_VIRTIO", \
721 "DEV_VIRTIO_NET", \
722 "DEV_VMM", \
723 "DEV_VMM_BACKDOOR", \
724 "DEV_VMM_STDERR", \
725 "DIS", \
726 "DRV", \
727 "DRV_ACPI", \
728 "DRV_BLOCK", \
729 "DRV_CHAR", \
730 "DRV_DISK_INTEGRITY", \
731 "DRV_DISPLAY", \
732 "DRV_FLOPPY", \
733 "DRV_HOST_BASE", \
734 "DRV_HOST_DVD", \
735 "DRV_HOST_FLOPPY", \
736 "DRV_HOST_PARALLEL", \
737 "DRV_HOST_SERIAL", \
738 "DRV_INTNET", \
739 "DRV_ISO", \
740 "DRV_KBD_QUEUE", \
741 "DRV_LWIP", \
742 "DRV_MINIPORT", \
743 "DRV_MOUSE", \
744 "DRV_MOUSE_QUEUE", \
745 "DRV_NAMEDPIPE", \
746 "DRV_NAT", \
747 "DRV_RAW_IMAGE", \
748 "DRV_SCSI", \
749 "DRV_SCSIHOST", \
750 "DRV_TRANSPORT_ASYNC", \
751 "DRV_TUN", \
752 "DRV_UDPTUNNEL", \
753 "DRV_USBPROXY", \
754 "DRV_VBOXHDD", \
755 "DRV_VD", \
756 "DRV_VSWITCH", \
757 "DRV_VUSB", \
758 "EM", \
759 "FTM", \
760 "GMM", \
761 "GUEST_CONTROL", \
762 "GUI", \
763 "GVMM", \
764 "HGCM", \
765 "HGSMI", \
766 "HM", \
767 "IEM", \
768 "IOM", \
769 "IPC", \
770 "MAIN", \
771 "MAIN_ADDITIONSFACILITY", \
772 "MAIN_ADDITIONSSTATECHANGEDEVENT", \
773 "MAIN_APPLIANCE", \
774 "MAIN_AUDIOADAPTER", \
775 "MAIN_BANDWIDTHCONTROL", \
776 "MAIN_BANDWIDTHGROUP", \
777 "MAIN_BANDWIDTHGROUPCHANGEDEVENT", \
778 "MAIN_BIOSSETTINGS", \
779 "MAIN_CANSHOWWINDOWEVENT", \
780 "MAIN_CLIPBOARDMODECHANGEDEVENT", \
781 "MAIN_CONSOLE", \
782 "MAIN_CPUCHANGEDEVENT", \
783 "MAIN_CPUEXECUTIONCAPCHANGEDEVENT", \
784 "MAIN_DHCPSERVER", \
785 "MAIN_DIRECTORY", \
786 "MAIN_DISPLAY", \
787 "MAIN_DRAGANDDROPMODECHANGEDEVENT", \
788 "MAIN_EVENT", \
789 "MAIN_EVENTLISTENER", \
790 "MAIN_EVENTSOURCE", \
791 "MAIN_EVENTSOURCECHANGEDEVENT", \
792 "MAIN_EXTPACK", \
793 "MAIN_EXTPACKBASE", \
794 "MAIN_EXTPACKFILE", \
795 "MAIN_EXTPACKMANAGER", \
796 "MAIN_EXTPACKPLUGIN", \
797 "MAIN_EXTRADATACANCHANGEEVENT", \
798 "MAIN_EXTRADATACHANGEDEVENT", \
799 "MAIN_FILE", \
800 "MAIN_FRAMEBUFFER", \
801 "MAIN_FRAMEBUFFEROVERLAY", \
802 "MAIN_FSOBJINFO", \
803 "MAIN_GUEST", \
804 "MAIN_GUESTDIRECTORY", \
805 "MAIN_GUESTERRORINFO", \
806 "MAIN_GUESTFILE", \
807 "MAIN_GUESTFILEEVENT", \
808 "MAIN_GUESTFILEIOEVENT", \
809 "MAIN_GUESTFILEOFFSETCHANGEDEVENT", \
810 "MAIN_GUESTFILEREADEVENT", \
811 "MAIN_GUESTFILEREGISTEREDEVENT", \
812 "MAIN_GUESTFILESTATECHANGEDEVENT", \
813 "MAIN_GUESTFILEWRITEEVENT", \
814 "MAIN_GUESTFSOBJINFO", \
815 "MAIN_GUESTKEYBOARDEVENT", \
816 "MAIN_GUESTMONITORCHANGEDEVENT", \
817 "MAIN_GUESTMOUSEEVENT", \
818 "MAIN_GUESTOSTYPE", \
819 "MAIN_GUESTPROCESS", \
820 "MAIN_GUESTPROCESSEVENT", \
821 "MAIN_GUESTPROCESSINPUTNOTIFYEVENT", \
822 "MAIN_GUESTPROCESSIOEVENT", \
823 "MAIN_GUESTPROCESSOUTPUTEVENT", \
824 "MAIN_GUESTPROCESSREGISTEREDEVENT", \
825 "MAIN_GUESTPROCESSSTATECHANGEDEVENT", \
826 "MAIN_GUESTPROPERTYCHANGEDEVENT", \
827 "MAIN_GUESTSESSION", \
828 "MAIN_GUESTSESSIONEVENT", \
829 "MAIN_GUESTSESSIONREGISTEREDEVENT", \
830 "MAIN_GUESTSESSIONSTATECHANGEDEVENT", \
831 "MAIN_GUESTUSERSTATECHANGEDEVENT", \
832 "MAIN_HOST", \
833 "MAIN_HOSTNETWORKINTERFACE", \
834 "MAIN_HOSTPCIDEVICEPLUGEVENT", \
835 "MAIN_HOSTUSBDEVICE", \
836 "MAIN_HOSTUSBDEVICEFILTER", \
837 "MAIN_INTERNALMACHINECONTROL", \
838 "MAIN_INTERNALSESSIONCONTROL", \
839 "MAIN_KEYBOARD", \
840 "MAIN_KEYBOARDLEDSCHANGEDEVENT", \
841 "MAIN_MACHINE", \
842 "MAIN_MACHINEDATACHANGEDEVENT", \
843 "MAIN_MACHINEDEBUGGER", \
844 "MAIN_MACHINEEVENT", \
845 "MAIN_MACHINEREGISTEREDEVENT", \
846 "MAIN_MACHINESTATECHANGEDEVENT", \
847 "MAIN_MEDIUM", \
848 "MAIN_MEDIUMATTACHMENT", \
849 "MAIN_MEDIUMCHANGEDEVENT", \
850 "MAIN_MEDIUMFORMAT", \
851 "MAIN_MEDIUMREGISTEREDEVENT", \
852 "MAIN_MOUSE", \
853 "MAIN_MOUSECAPABILITYCHANGEDEVENT", \
854 "MAIN_MOUSEPOINTERSHAPECHANGEDEVENT", \
855 "MAIN_NATENGINE", \
856 "MAIN_NATNETWORK", \
857 "MAIN_NATNETWORKALTEREVENT", \
858 "MAIN_NATNETWORKCHANGEDEVENT", \
859 "MAIN_NATNETWORKCREATIONDELETIONEVENT", \
860 "MAIN_NATNETWORKPORTFORWARDEVENT", \
861 "MAIN_NATNETWORKSETTINGEVENT", \
862 "MAIN_NATNETWORKSTARTSTOPEVENT", \
863 "MAIN_NATREDIRECTEVENT", \
864 "MAIN_NETWORKADAPTER", \
865 "MAIN_NETWORKADAPTERCHANGEDEVENT", \
866 "MAIN_PARALLELPORT", \
867 "MAIN_PARALLELPORTCHANGEDEVENT", \
868 "MAIN_PCIADDRESS", \
869 "MAIN_PCIDEVICEATTACHMENT", \
870 "MAIN_PERFORMANCECOLLECTOR", \
871 "MAIN_PERFORMANCEMETRIC", \
872 "MAIN_PROCESS", \
873 "MAIN_PROGRESS", \
874 "MAIN_REUSABLEEVENT", \
875 "MAIN_RUNTIMEERROREVENT", \
876 "MAIN_SERIALPORT", \
877 "MAIN_SERIALPORTCHANGEDEVENT", \
878 "MAIN_SESSION", \
879 "MAIN_SESSIONSTATECHANGEDEVENT", \
880 "MAIN_SHAREDFOLDER", \
881 "MAIN_SHAREDFOLDERCHANGEDEVENT", \
882 "MAIN_SHOWWINDOWEVENT", \
883 "MAIN_SNAPSHOT", \
884 "MAIN_SNAPSHOTCHANGEDEVENT", \
885 "MAIN_SNAPSHOTDELETEDEVENT", \
886 "MAIN_SNAPSHOTEVENT", \
887 "MAIN_SNAPSHOTTAKENEVENT", \
888 "MAIN_STATECHANGEDEVENT", \
889 "MAIN_STORAGECONTROLLER", \
890 "MAIN_STORAGECONTROLLERCHANGEDEVENT", \
891 "MAIN_STORAGEDEVICECHANGEDEVENT", \
892 "MAIN_SYSTEMPROPERTIES", \
893 "MAIN_USBCONTROLLER", \
894 "MAIN_USBCONTROLLERCHANGEDEVENT", \
895 "MAIN_USBDEVICE", \
896 "MAIN_USBDEVICEFILTER", \
897 "MAIN_USBDEVICEFILTERS", \
898 "MAIN_USBDEVICESTATECHANGEDEVENT", \
899 "MAIN_VBOXSVCAVAILABILITYCHANGEDEVENT", \
900 "MAIN_VETOEVENT", \
901 "MAIN_VFSEXPLORER", \
902 "MAIN_VIDEOCAPTURECHANGEDEVENT", \
903 "MAIN_VIRTUALBOX", \
904 "MAIN_VIRTUALBOXCLIENT", \
905 "MAIN_VIRTUALSYSTEMDESCRIPTION", \
906 "MAIN_VRDESERVER", \
907 "MAIN_VRDESERVERCHANGEDEVENT", \
908 "MAIN_VRDESERVERINFO", \
909 "MAIN_VRDESERVERINFOCHANGEDEVENT", \
910 "MISC", \
911 "MM", \
912 "MM_HEAP", \
913 "MM_HYPER", \
914 "MM_HYPER_HEAP",\
915 "MM_PHYS", \
916 "MM_POOL", \
917 "NAT_SERVICE", \
918 "NET_ADP_DRV", \
919 "NET_FLT_DRV", \
920 "NET_SERVICE", \
921 "NET_SHAPER", \
922 "PATM", \
923 "PDM", \
924 "PDM_ASYNC_COMPLETION", \
925 "PDM_BLK_CACHE", \
926 "PDM_DEVICE", \
927 "PDM_DRIVER", \
928 "PDM_LDR", \
929 "PDM_QUEUE", \
930 "PGM", \
931 "PGM_DYNMAP", \
932 "PGM_PHYS", \
933 "PGM_PHYS_ACCESS",\
934 "PGM_POOL", \
935 "PGM_SHARED", \
936 "REM", \
937 "REM_DISAS", \
938 "REM_HANDLER", \
939 "REM_IOPORT", \
940 "REM_MMIO", \
941 "REM_PRINTF", \
942 "REM_RUN", \
943 "SELM", \
944 "SHARED_CLIPBOARD",\
945 "SHARED_CROPENGL",\
946 "SHARED_FOLDERS",\
947 "SHARED_OPENGL",\
948 "SRV_INTNET", \
949 "SSM", \
950 "STAM", \
951 "SUP", \
952 "SUP_DRV", \
953 "TM", \
954 "TRPM", \
955 "USB_CARDREADER",\
956 "USB_DRV", \
957 "USB_FILTER", \
958 "USB_KBD", \
959 "USB_MOUSE", \
960 "USB_MSD", \
961 "USB_WEBCAM", \
962 "VBGD", \
963 "VBGL", \
964 "VD", \
965 "VD_DMG", \
966 "VD_ISCSI", \
967 "VD_PARALLELS", \
968 "VD_QCOW", \
969 "VD_QED", \
970 "VD_RAW", \
971 "VD_VDI", \
972 "VD_VHD", \
973 "VD_VMDK", \
974 "VM", \
975 "VMM", \
976 "VRDE", \
977 "VRDP", \
978 "VSCSI", \
979 "WEBSERVICE", \
980}
981
982/** @} */
983#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