diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2015-10-01 00:47:24 +0300 |
---|---|---|
committer | Scott Mosier <smosier@microsoft.com> | 2015-10-01 00:47:24 +0300 |
commit | ad0323ab91a7b1469b42ca5457ddd631b94294fe (patch) | |
tree | 88fae57e1ec3aae90288463dc07e58f7aebc1de8 /src/Native/Runtime/loglf.h | |
parent | 6763d16387778f126ec510c0421783952602f8f7 (diff) |
Initial population of CoreRT Runtime files.
Diffstat (limited to 'src/Native/Runtime/loglf.h')
-rw-r--r-- | src/Native/Runtime/loglf.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Native/Runtime/loglf.h b/src/Native/Runtime/loglf.h new file mode 100644 index 000000000..d4aa64bc7 --- /dev/null +++ b/src/Native/Runtime/loglf.h @@ -0,0 +1,19 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +// The code in sos.DumpStressLog depends on the facility codes +// being bit flags sorted in increasing order. +// See code:EEStartup#TableOfContents for EE overview +DEFINE_LOG_FACILITY(LF_GC ,0x00000001) +DEFINE_LOG_FACILITY(LF_GCINFO ,0x00000002) +DEFINE_LOG_FACILITY(LF_GCALLOC ,0x00000004) +DEFINE_LOG_FACILITY(LF_GCROOTS ,0x00000008) +DEFINE_LOG_FACILITY(LF_STARTUP ,0x00000010) // Log startup and shutdown failures +DEFINE_LOG_FACILITY(LF_STACKWALK ,0x00000020) +// LF_ALWAYS 0x80000000 // make certain you don't try to use this bit for a real facility +// LF_ALL 0xFFFFFFFF +// +#undef DEFINE_LOG_FACILITY + |