1// Licensed to the .NET Foundation under one or more agreements.
2// The .NET Foundation licenses this file to you under the MIT license.
3// See the LICENSE file in the project root for more information.
4// The code in sos.DumpLog depends on the first 32 facility codes
5// being bit flags sorted in incresing order.
6
7DEFINE_LOG_FACILITY(LF_GC ,0x00000001)
8DEFINE_LOG_FACILITY(LF_GCINFO ,0x00000002)
9DEFINE_LOG_FACILITY(LF_STUBS ,0x00000004)
10DEFINE_LOG_FACILITY(LF_JIT ,0x00000008)
11DEFINE_LOG_FACILITY(LF_LOADER ,0x00000010)
12DEFINE_LOG_FACILITY(LF_METADATA ,0x00000020)
13DEFINE_LOG_FACILITY(LF_SYNC ,0x00000040)
14DEFINE_LOG_FACILITY(LF_EEMEM ,0x00000080)
15DEFINE_LOG_FACILITY(LF_GCALLOC ,0x00000100)
16DEFINE_LOG_FACILITY(LF_CORDB ,0x00000200)
17DEFINE_LOG_FACILITY(LF_CLASSLOADER ,0x00000400)
18DEFINE_LOG_FACILITY(LF_CORPROF ,0x00000800)
19DEFINE_LOG_FACILITY(LF_REMOTING ,0x00001000)
20DEFINE_LOG_FACILITY(LF_DBGALLOC ,0x00002000)
21DEFINE_LOG_FACILITY(LF_EH ,0x00004000)
22DEFINE_LOG_FACILITY(LF_ENC ,0x00008000)
23DEFINE_LOG_FACILITY(LF_ASSERT ,0x00010000)
24DEFINE_LOG_FACILITY(LF_VERIFIER ,0x00020000)
25DEFINE_LOG_FACILITY(LF_THREADPOOL ,0x00040000)
26DEFINE_LOG_FACILITY(LF_GCROOTS ,0x00080000)
27DEFINE_LOG_FACILITY(LF_INTEROP ,0x00100000)
28DEFINE_LOG_FACILITY(LF_MARSHALER ,0x00200000)
29DEFINE_LOG_FACILITY(LF_TIEREDCOMPILATION ,0x00400000) // This used to be IJW, but now repurposed for tiered compilation
30DEFINE_LOG_FACILITY(LF_ZAP ,0x00800000)
31DEFINE_LOG_FACILITY(LF_STARTUP ,0x01000000) // Log startupa and shutdown failures
32DEFINE_LOG_FACILITY(LF_APPDOMAIN ,0x02000000)
33DEFINE_LOG_FACILITY(LF_CODESHARING ,0x04000000)
34DEFINE_LOG_FACILITY(LF_STORE ,0x08000000)
35DEFINE_LOG_FACILITY(LF_SECURITY ,0x10000000)
36DEFINE_LOG_FACILITY(LF_LOCKS ,0x20000000)
37DEFINE_LOG_FACILITY(LF_BCL ,0x40000000)
38// LF_ALWAYS 0x80000000 // make certain you don't try to use this bit for a real facility
39// LF_ALL 0xFFFFFFFF
40//
41#undef DEFINE_LOG_FACILITY
42
43