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 | |
7 | DEFINE_LOG_FACILITY(LF_GC ,0x00000001) |
8 | DEFINE_LOG_FACILITY(LF_GCINFO ,0x00000002) |
9 | DEFINE_LOG_FACILITY(LF_STUBS ,0x00000004) |
10 | DEFINE_LOG_FACILITY(LF_JIT ,0x00000008) |
11 | DEFINE_LOG_FACILITY(LF_LOADER ,0x00000010) |
12 | DEFINE_LOG_FACILITY(LF_METADATA ,0x00000020) |
13 | DEFINE_LOG_FACILITY(LF_SYNC ,0x00000040) |
14 | DEFINE_LOG_FACILITY(LF_EEMEM ,0x00000080) |
15 | DEFINE_LOG_FACILITY(LF_GCALLOC ,0x00000100) |
16 | DEFINE_LOG_FACILITY(LF_CORDB ,0x00000200) |
17 | DEFINE_LOG_FACILITY(LF_CLASSLOADER ,0x00000400) |
18 | DEFINE_LOG_FACILITY(LF_CORPROF ,0x00000800) |
19 | DEFINE_LOG_FACILITY(LF_REMOTING ,0x00001000) |
20 | DEFINE_LOG_FACILITY(LF_DBGALLOC ,0x00002000) |
21 | DEFINE_LOG_FACILITY(LF_EH ,0x00004000) |
22 | DEFINE_LOG_FACILITY(LF_ENC ,0x00008000) |
23 | DEFINE_LOG_FACILITY(LF_ASSERT ,0x00010000) |
24 | DEFINE_LOG_FACILITY(LF_VERIFIER ,0x00020000) |
25 | DEFINE_LOG_FACILITY(LF_THREADPOOL ,0x00040000) |
26 | DEFINE_LOG_FACILITY(LF_GCROOTS ,0x00080000) |
27 | DEFINE_LOG_FACILITY(LF_INTEROP ,0x00100000) |
28 | DEFINE_LOG_FACILITY(LF_MARSHALER ,0x00200000) |
29 | DEFINE_LOG_FACILITY(LF_TIEREDCOMPILATION ,0x00400000) // This used to be IJW, but now repurposed for tiered compilation |
30 | DEFINE_LOG_FACILITY(LF_ZAP ,0x00800000) |
31 | DEFINE_LOG_FACILITY(LF_STARTUP ,0x01000000) // Log startupa and shutdown failures |
32 | DEFINE_LOG_FACILITY(LF_APPDOMAIN ,0x02000000) |
33 | DEFINE_LOG_FACILITY(LF_CODESHARING ,0x04000000) |
34 | DEFINE_LOG_FACILITY(LF_STORE ,0x08000000) |
35 | DEFINE_LOG_FACILITY(LF_SECURITY ,0x10000000) |
36 | DEFINE_LOG_FACILITY(LF_LOCKS ,0x20000000) |
37 | DEFINE_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 | |