VirtualBox

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

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

Add MAIN_VIDEOCAPTURECHANGEDEVENT to VBOX_LOGGROUP_NAMES too.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 30.3 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, IVideoCaptureChangedEvent. */
501 LOG_GROUP_MAIN_VIDEOCAPTURECHANGEDEVENT,
502 /** Main group, IVirtualBox. */
503 LOG_GROUP_MAIN_VIRTUALBOX,
504 /** Main group, IVirtualBoxClient. */
505 LOG_GROUP_MAIN_VIRTUALBOXCLIENT,
506 /** Main group, IVirtualSystemDescription. */
507 LOG_GROUP_MAIN_VIRTUALSYSTEMDESCRIPTION,
508 /** Main group, IVRDEServer. */
509 LOG_GROUP_MAIN_VRDESERVER,
510 /** Main group, IVRDEServerChangedEvent. */
511 LOG_GROUP_MAIN_VRDESERVERCHANGEDEVENT,
512 /** Main group, IVRDEServerInfo. */
513 LOG_GROUP_MAIN_VRDESERVERINFO,
514 /** Main group, IVRDEServerInfoChangedEvent. */
515 LOG_GROUP_MAIN_VRDESERVERINFOCHANGEDEVENT,
516 /** Misc. group intended for external use only. */
517 LOG_GROUP_MISC,
518 /** MM group. */
519 LOG_GROUP_MM,
520 /** MM group. */
521 LOG_GROUP_MM_HEAP,
522 /** MM group. */
523 LOG_GROUP_MM_HYPER,
524 /** MM Hypervisor Heap group. */
525 LOG_GROUP_MM_HYPER_HEAP,
526 /** MM Physical/Ram group. */
527 LOG_GROUP_MM_PHYS,
528 /** MM Page pool group. */
529 LOG_GROUP_MM_POOL,
530 /** The NAT service group */
531 LOG_GROUP_NAT_SERVICE,
532 /** The network adaptor driver group. */
533 LOG_GROUP_NET_ADP_DRV,
534 /** The network filter driver group. */
535 LOG_GROUP_NET_FLT_DRV,
536 /** The common network service group */
537 LOG_GROUP_NET_SERVICE,
538 /** Network traffic shaper driver group. */
539 LOG_GROUP_NET_SHAPER,
540 /** PATM group. */
541 LOG_GROUP_PATM,
542 /** PDM group. */
543 LOG_GROUP_PDM,
544 /** PDM Async completion group. */
545 LOG_GROUP_PDM_ASYNC_COMPLETION,
546 /** PDM Block cache group. */
547 LOG_GROUP_PDM_BLK_CACHE,
548 /** PDM Device group. */
549 LOG_GROUP_PDM_DEVICE,
550 /** PDM Driver group. */
551 LOG_GROUP_PDM_DRIVER,
552 /** PDM Loader group. */
553 LOG_GROUP_PDM_LDR,
554 /** PDM Loader group. */
555 LOG_GROUP_PDM_QUEUE,
556 /** PGM group. */
557 LOG_GROUP_PGM,
558 /** PGM dynamic mapping group. */
559 LOG_GROUP_PGM_DYNMAP,
560 /** PGM physical group. */
561 LOG_GROUP_PGM_PHYS,
562 /** PGM physical access group. */
563 LOG_GROUP_PGM_PHYS_ACCESS,
564 /** PGM shadow page pool group. */
565 LOG_GROUP_PGM_POOL,
566 /** PGM shared paging group. */
567 LOG_GROUP_PGM_SHARED,
568 /** REM group. */
569 LOG_GROUP_REM,
570 /** REM disassembly handler group. */
571 LOG_GROUP_REM_DISAS,
572 /** REM access handler group. */
573 LOG_GROUP_REM_HANDLER,
574 /** REM I/O port access group. */
575 LOG_GROUP_REM_IOPORT,
576 /** REM MMIO access group. */
577 LOG_GROUP_REM_MMIO,
578 /** REM Printf. */
579 LOG_GROUP_REM_PRINTF,
580 /** REM running group. */
581 LOG_GROUP_REM_RUN,
582 /** SELM group. */
583 LOG_GROUP_SELM,
584 /** Shared clipboard host service group. */
585 LOG_GROUP_SHARED_CLIPBOARD,
586 /** Chromium OpenGL host service group. */
587 LOG_GROUP_SHARED_CROPENGL,
588 /** Shared folders host service group. */
589 LOG_GROUP_SHARED_FOLDERS,
590 /** OpenGL host service group. */
591 LOG_GROUP_SHARED_OPENGL,
592 /** The internal networking service group. */
593 LOG_GROUP_SRV_INTNET,
594 /** SSM group. */
595 LOG_GROUP_SSM,
596 /** STAM group. */
597 LOG_GROUP_STAM,
598 /** SUP group. */
599 LOG_GROUP_SUP,
600 /** SUPport driver group. */
601 LOG_GROUP_SUP_DRV,
602 /** TM group. */
603 LOG_GROUP_TM,
604 /** TRPM group. */
605 LOG_GROUP_TRPM,
606 /** USB cardreader group. */
607 LOG_GROUP_USB_CARDREADER,
608 /** USB driver group. */
609 LOG_GROUP_USB_DRV,
610 /** USBFilter group. */
611 LOG_GROUP_USB_FILTER,
612 /** USB keyboard device group. */
613 LOG_GROUP_USB_KBD,
614 /** USB mouse/tablet device group. */
615 LOG_GROUP_USB_MOUSE,
616 /** MSD USB device group. */
617 LOG_GROUP_USB_MSD,
618 /** USB webcam. */
619 LOG_GROUP_USB_WEBCAM,
620 /** VBox Guest Additions Driver (VBoxGuest). */
621 LOG_GROUP_VBGD,
622 /** VBox Guest Additions Library. */
623 LOG_GROUP_VBGL,
624 /** Generic virtual disk layer. */
625 LOG_GROUP_VD,
626 /** DMG virtual disk backend. */
627 LOG_GROUP_VD_DMG,
628 /** iSCSI virtual disk backend. */
629 LOG_GROUP_VD_ISCSI,
630 /** Parallels HDD virtual disk backend. */
631 LOG_GROUP_VD_PARALLELS,
632 /** QCOW virtual disk backend. */
633 LOG_GROUP_VD_QCOW,
634 /** QED virtual disk backend. */
635 LOG_GROUP_VD_QED,
636 /** Raw virtual disk backend. */
637 LOG_GROUP_VD_RAW,
638 /** VDI virtual disk backend. */
639 LOG_GROUP_VD_VDI,
640 /** VHD virtual disk backend. */
641 LOG_GROUP_VD_VHD,
642 /** VMDK virtual disk backend. */
643 LOG_GROUP_VD_VMDK,
644 /** VM group. */
645 LOG_GROUP_VM,
646 /** VMM group. */
647 LOG_GROUP_VMM,
648 /** VRDE group */
649 LOG_GROUP_VRDE,
650 /** VRDP group */
651 LOG_GROUP_VRDP,
652 /** VSCSI group */
653 LOG_GROUP_VSCSI,
654 /** Webservice group. */
655 LOG_GROUP_WEBSERVICE
656 /* !!!ALPHABETICALLY!!! */
657} VBOX_LOGGROUP;
658
659
660/** @def VBOX_LOGGROUP_NAMES
661 * VirtualBox Logging group names.
662 *
663 * Must correspond 100% to LOGGROUP!
664 * Don't forget commas!
665 *
666 * @remark It should be pretty obvious, but just to have
667 * mentioned it, the values are sorted alphabetically (using the
668 * english alphabet) except for _DEFAULT which is always first.
669 *
670 * If anyone might be wondering what the alphabet looks like:
671 * 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
672 */
673#define VBOX_LOGGROUP_NAMES \
674{ \
675 RT_LOGGROUP_NAMES, \
676 "DEFAULT", \
677 "AUTOLOGON", \
678 "CFGM", \
679 "CPUM", \
680 "CSAM", \
681 "DBGC", \
682 "DBGF", \
683 "DBGF_INFO", \
684 "DBGG", \
685 "DEV", \
686 "DEV_ACPI", \
687 "DEV_AHCI", \
688 "DEV_APIC", \
689 "DEV_AUDIO", \
690 "DEV_BUSLOGIC", \
691 "DEV_DMA", \
692 "DEV_E1000", \
693 "DEV_EFI", \
694 "DEV_FDC", \
695 "DEV_HPET", \
696 "DEV_IDE", \
697 "DEV_INIP", \
698 "DEV_KBD", \
699 "DEV_LPC", \
700 "DEV_LSILOGICSCSI", \
701 "DEV_NE2000", \
702 "DEV_PARALLEL", \
703 "DEV_PC", \
704 "DEV_PC_ARCH", \
705 "DEV_PC_BIOS", \
706 "DEV_PCI", \
707 "DEV_PCI_RAW", \
708 "DEV_PCNET", \
709 "DEV_PIC", \
710 "DEV_PIT", \
711 "DEV_RTC", \
712 "DEV_SERIAL", \
713 "DEV_SMC", \
714 "DEV_USB", \
715 "DEV_VGA", \
716 "DEV_VIRTIO", \
717 "DEV_VIRTIO_NET", \
718 "DEV_VMM", \
719 "DEV_VMM_BACKDOOR", \
720 "DEV_VMM_STDERR", \
721 "DIS", \
722 "DRV", \
723 "DRV_ACPI", \
724 "DRV_BLOCK", \
725 "DRV_CHAR", \
726 "DRV_DISK_INTEGRITY", \
727 "DRV_DISPLAY", \
728 "DRV_FLOPPY", \
729 "DRV_HOST_BASE", \
730 "DRV_HOST_DVD", \
731 "DRV_HOST_FLOPPY", \
732 "DRV_HOST_PARALLEL", \
733 "DRV_HOST_SERIAL", \
734 "DRV_INTNET", \
735 "DRV_ISO", \
736 "DRV_KBD_QUEUE", \
737 "DRV_LWIP", \
738 "DRV_MINIPORT", \
739 "DRV_MOUSE", \
740 "DRV_MOUSE_QUEUE", \
741 "DRV_NAMEDPIPE", \
742 "DRV_NAT", \
743 "DRV_RAW_IMAGE", \
744 "DRV_SCSI", \
745 "DRV_SCSIHOST", \
746 "DRV_TRANSPORT_ASYNC", \
747 "DRV_TUN", \
748 "DRV_UDPTUNNEL", \
749 "DRV_USBPROXY", \
750 "DRV_VBOXHDD", \
751 "DRV_VD", \
752 "DRV_VSWITCH", \
753 "DRV_VUSB", \
754 "EM", \
755 "FTM", \
756 "GMM", \
757 "GUEST_CONTROL", \
758 "GUI", \
759 "GVMM", \
760 "HGCM", \
761 "HGSMI", \
762 "HM", \
763 "IEM", \
764 "IOM", \
765 "IPC", \
766 "MAIN", \
767 "MAIN_ADDITIONSFACILITY", \
768 "MAIN_ADDITIONSSTATECHANGEDEVENT", \
769 "MAIN_APPLIANCE", \
770 "MAIN_AUDIOADAPTER", \
771 "MAIN_BANDWIDTHCONTROL", \
772 "MAIN_BANDWIDTHGROUP", \
773 "MAIN_BANDWIDTHGROUPCHANGEDEVENT", \
774 "MAIN_BIOSSETTINGS", \
775 "MAIN_CANSHOWWINDOWEVENT", \
776 "MAIN_CLIPBOARDMODECHANGEDEVENT", \
777 "MAIN_CONSOLE", \
778 "MAIN_CPUCHANGEDEVENT", \
779 "MAIN_CPUEXECUTIONCAPCHANGEDEVENT", \
780 "MAIN_DHCPSERVER", \
781 "MAIN_DIRECTORY", \
782 "MAIN_DISPLAY", \
783 "MAIN_DRAGANDDROPMODECHANGEDEVENT", \
784 "MAIN_EVENT", \
785 "MAIN_EVENTLISTENER", \
786 "MAIN_EVENTSOURCE", \
787 "MAIN_EVENTSOURCECHANGEDEVENT", \
788 "MAIN_EXTPACK", \
789 "MAIN_EXTPACKBASE", \
790 "MAIN_EXTPACKFILE", \
791 "MAIN_EXTPACKMANAGER", \
792 "MAIN_EXTPACKPLUGIN", \
793 "MAIN_EXTRADATACANCHANGEEVENT", \
794 "MAIN_EXTRADATACHANGEDEVENT", \
795 "MAIN_FILE", \
796 "MAIN_FRAMEBUFFER", \
797 "MAIN_FRAMEBUFFEROVERLAY", \
798 "MAIN_FSOBJINFO", \
799 "MAIN_GUEST", \
800 "MAIN_GUESTDIRECTORY", \
801 "MAIN_GUESTERRORINFO", \
802 "MAIN_GUESTFILE", \
803 "MAIN_GUESTFILEEVENT", \
804 "MAIN_GUESTFILEIOEVENT", \
805 "MAIN_GUESTFILEOFFSETCHANGEDEVENT", \
806 "MAIN_GUESTFILEREADEVENT", \
807 "MAIN_GUESTFILEREGISTEREDEVENT", \
808 "MAIN_GUESTFILESTATECHANGEDEVENT", \
809 "MAIN_GUESTFILEWRITEEVENT", \
810 "MAIN_GUESTFSOBJINFO", \
811 "MAIN_GUESTKEYBOARDEVENT", \
812 "MAIN_GUESTMONITORCHANGEDEVENT", \
813 "MAIN_GUESTMOUSEEVENT", \
814 "MAIN_GUESTOSTYPE", \
815 "MAIN_GUESTPROCESS", \
816 "MAIN_GUESTPROCESSEVENT", \
817 "MAIN_GUESTPROCESSINPUTNOTIFYEVENT", \
818 "MAIN_GUESTPROCESSIOEVENT", \
819 "MAIN_GUESTPROCESSOUTPUTEVENT", \
820 "MAIN_GUESTPROCESSREGISTEREDEVENT", \
821 "MAIN_GUESTPROCESSSTATECHANGEDEVENT", \
822 "MAIN_GUESTPROPERTYCHANGEDEVENT", \
823 "MAIN_GUESTSESSION", \
824 "MAIN_GUESTSESSIONEVENT", \
825 "MAIN_GUESTSESSIONREGISTEREDEVENT", \
826 "MAIN_GUESTSESSIONSTATECHANGEDEVENT", \
827 "MAIN_HOST", \
828 "MAIN_HOSTNETWORKINTERFACE", \
829 "MAIN_HOSTPCIDEVICEPLUGEVENT", \
830 "MAIN_HOSTUSBDEVICE", \
831 "MAIN_HOSTUSBDEVICEFILTER", \
832 "MAIN_INTERNALMACHINECONTROL", \
833 "MAIN_INTERNALSESSIONCONTROL", \
834 "MAIN_KEYBOARD", \
835 "MAIN_KEYBOARDLEDSCHANGEDEVENT", \
836 "MAIN_MACHINE", \
837 "MAIN_MACHINEDATACHANGEDEVENT", \
838 "MAIN_MACHINEDEBUGGER", \
839 "MAIN_MACHINEEVENT", \
840 "MAIN_MACHINEREGISTEREDEVENT", \
841 "MAIN_MACHINESTATECHANGEDEVENT", \
842 "MAIN_MEDIUM", \
843 "MAIN_MEDIUMATTACHMENT", \
844 "MAIN_MEDIUMCHANGEDEVENT", \
845 "MAIN_MEDIUMFORMAT", \
846 "MAIN_MEDIUMREGISTEREDEVENT", \
847 "MAIN_MOUSE", \
848 "MAIN_MOUSECAPABILITYCHANGEDEVENT", \
849 "MAIN_MOUSEPOINTERSHAPECHANGEDEVENT", \
850 "MAIN_NATENGINE", \
851 "MAIN_NATNETWORK", \
852 "MAIN_NATNETWORKALTEREVENT", \
853 "MAIN_NATNETWORKCHANGEDEVENT", \
854 "MAIN_NATNETWORKCREATIONDELETIONEVENT", \
855 "MAIN_NATNETWORKPORTFORWARDEVENT", \
856 "MAIN_NATNETWORKSETTINGEVENT", \
857 "MAIN_NATNETWORKSTARTSTOPEVENT", \
858 "MAIN_NATREDIRECTEVENT", \
859 "MAIN_NETWORKADAPTER", \
860 "MAIN_NETWORKADAPTERCHANGEDEVENT", \
861 "MAIN_PARALLELPORT", \
862 "MAIN_PARALLELPORTCHANGEDEVENT", \
863 "MAIN_PCIADDRESS", \
864 "MAIN_PCIDEVICEATTACHMENT", \
865 "MAIN_PERFORMANCECOLLECTOR", \
866 "MAIN_PERFORMANCEMETRIC", \
867 "MAIN_PROCESS", \
868 "MAIN_PROGRESS", \
869 "MAIN_REUSABLEEVENT", \
870 "MAIN_RUNTIMEERROREVENT", \
871 "MAIN_SERIALPORT", \
872 "MAIN_SERIALPORTCHANGEDEVENT", \
873 "MAIN_SESSION", \
874 "MAIN_SESSIONSTATECHANGEDEVENT", \
875 "MAIN_SHAREDFOLDER", \
876 "MAIN_SHAREDFOLDERCHANGEDEVENT", \
877 "MAIN_SHOWWINDOWEVENT", \
878 "MAIN_SNAPSHOT", \
879 "MAIN_SNAPSHOTCHANGEDEVENT", \
880 "MAIN_SNAPSHOTDELETEDEVENT", \
881 "MAIN_SNAPSHOTEVENT", \
882 "MAIN_SNAPSHOTTAKENEVENT", \
883 "MAIN_STATECHANGEDEVENT", \
884 "MAIN_STORAGECONTROLLER", \
885 "MAIN_STORAGECONTROLLERCHANGEDEVENT", \
886 "MAIN_STORAGEDEVICECHANGEDEVENT", \
887 "MAIN_SYSTEMPROPERTIES", \
888 "MAIN_USBCONTROLLER", \
889 "MAIN_USBCONTROLLERCHANGEDEVENT", \
890 "MAIN_USBDEVICE", \
891 "MAIN_USBDEVICEFILTER", \
892 "MAIN_USBDEVICESTATECHANGEDEVENT", \
893 "MAIN_VBOXSVCAVAILABILITYCHANGEDEVENT", \
894 "MAIN_VETOEVENT", \
895 "MAIN_VFSEXPLORER", \
896 "MAIN_VIDEOCAPTURECHANGEDEVENT", \
897 "MAIN_VIRTUALBOX", \
898 "MAIN_VIRTUALBOXCLIENT", \
899 "MAIN_VIRTUALSYSTEMDESCRIPTION", \
900 "MAIN_VRDESERVER", \
901 "MAIN_VRDESERVERCHANGEDEVENT", \
902 "MAIN_VRDESERVERINFO", \
903 "MAIN_VRDESERVERINFOCHANGEDEVENT", \
904 "MISC", \
905 "MM", \
906 "MM_HEAP", \
907 "MM_HYPER", \
908 "MM_HYPER_HEAP",\
909 "MM_PHYS", \
910 "MM_POOL", \
911 "NAT_SERVICE", \
912 "NET_ADP_DRV", \
913 "NET_FLT_DRV", \
914 "NET_SERVICE", \
915 "NET_SHAPER", \
916 "PATM", \
917 "PDM", \
918 "PDM_ASYNC_COMPLETION", \
919 "PDM_BLK_CACHE", \
920 "PDM_DEVICE", \
921 "PDM_DRIVER", \
922 "PDM_LDR", \
923 "PDM_QUEUE", \
924 "PGM", \
925 "PGM_DYNMAP", \
926 "PGM_PHYS", \
927 "PGM_PHYS_ACCESS",\
928 "PGM_POOL", \
929 "PGM_SHARED", \
930 "REM", \
931 "REM_DISAS", \
932 "REM_HANDLER", \
933 "REM_IOPORT", \
934 "REM_MMIO", \
935 "REM_PRINTF", \
936 "REM_RUN", \
937 "SELM", \
938 "SHARED_CLIPBOARD",\
939 "SHARED_CROPENGL",\
940 "SHARED_FOLDERS",\
941 "SHARED_OPENGL",\
942 "SRV_INTNET", \
943 "SSM", \
944 "STAM", \
945 "SUP", \
946 "SUP_DRV", \
947 "TM", \
948 "TRPM", \
949 "USB_CARDREADER",\
950 "USB_DRV", \
951 "USB_FILTER", \
952 "USB_KBD", \
953 "USB_MOUSE", \
954 "USB_MSD", \
955 "USB_WEBCAM", \
956 "VBGD", \
957 "VBGL", \
958 "VD", \
959 "VD_DMG", \
960 "VD_ISCSI", \
961 "VD_PARALLELS", \
962 "VD_QCOW", \
963 "VD_QED", \
964 "VD_RAW", \
965 "VD_VDI", \
966 "VD_VHD", \
967 "VD_VMDK", \
968 "VM", \
969 "VMM", \
970 "VRDE", \
971 "VRDP", \
972 "VSCSI", \
973 "WEBSERVICE", \
974}
975
976/** @} */
977#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