diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-06-28 13:47:19 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-06-28 13:47:19 +0000 |
commit | f49bba65b8159152fe22b385e4119174c6c89269 (patch) | |
tree | 302add96435c57b3e865e6c33e99aa951ce6dfbe /ace/Logging_Strategy.cpp | |
parent | 1dc60a3b0b8961cb80ca3aa1dff42d49bc1763f3 (diff) | |
download | ATCD-f49bba65b8159152fe22b385e4119174c6c89269.tar.gz |
ChangeLogTag:Fri Jun 28 08:07:12 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'ace/Logging_Strategy.cpp')
-rw-r--r-- | ace/Logging_Strategy.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ace/Logging_Strategy.cpp b/ace/Logging_Strategy.cpp index 42acc11eafa..9fc7f96488d 100644 --- a/ace/Logging_Strategy.cpp +++ b/ace/Logging_Strategy.cpp @@ -36,7 +36,11 @@ ACE_Logging_Strategy::priorities (ACE_TCHAR *priority_string, ACE_LIB_TEXT ("|"), &strtokp)) { - if (ACE_OS::strcmp (priority, ACE_LIB_TEXT ("TRACE")) == 0) + if (ACE_OS::strcmp (priority, ACE_LIB_TEXT ("SHUTDOWN")) == 0) + ACE_SET_BITS (priority_mask, LM_SHUTDOWN); + else if (ACE_OS::strcmp (priority, ACE_LIB_TEXT ("~SHUTDOWN")) == 0) + ACE_CLR_BITS (priority_mask, LM_SHUTDOWN); + else if (ACE_OS::strcmp (priority, ACE_LIB_TEXT ("TRACE")) == 0) ACE_SET_BITS (priority_mask, LM_TRACE); else if (ACE_OS::strcmp (priority, ACE_LIB_TEXT ("~TRACE")) == 0) ACE_CLR_BITS (priority_mask, LM_TRACE); @@ -56,6 +60,10 @@ ACE_Logging_Strategy::priorities (ACE_TCHAR *priority_string, ACE_SET_BITS (priority_mask, LM_WARNING); else if (ACE_OS::strcmp (priority, ACE_LIB_TEXT ("~WARNING")) == 0) ACE_CLR_BITS (priority_mask, LM_WARNING); + else if (ACE_OS::strcmp (priority, ACE_LIB_TEXT ("STARTUP")) == 0) + ACE_SET_BITS (priority_mask, LM_STARTUP); + else if (ACE_OS::strcmp (priority, ACE_LIB_TEXT ("~STARTUP")) == 0) + ACE_CLR_BITS (priority_mask, LM_STARTUP); else if (ACE_OS::strcmp (priority, ACE_LIB_TEXT ("ERROR")) == 0) ACE_SET_BITS (priority_mask, LM_ERROR); else if (ACE_OS::strcmp (priority, ACE_LIB_TEXT ("~ERROR")) == 0) |