diff options
author | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-13 01:21:57 +0000 |
---|---|---|
committer | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-13 01:21:57 +0000 |
commit | f23fc27fbad6ea1e7aebbd0b2859a8a28cb4b449 (patch) | |
tree | 05479c9b98febc8a45460fec03442753e5a81f0e /ace/Logging_Strategy.cpp | |
parent | 5430a50b7d6db5fd8cacf2b0a557f4fe58bddb12 (diff) | |
download | ATCD-f23fc27fbad6ea1e7aebbd0b2859a8a28cb4b449.tar.gz |
ChangeLogTag: Thu Oct 12 18:19:46 2000 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'ace/Logging_Strategy.cpp')
-rw-r--r-- | ace/Logging_Strategy.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ace/Logging_Strategy.cpp b/ace/Logging_Strategy.cpp index 43d5336e831..4d19e34842f 100644 --- a/ace/Logging_Strategy.cpp +++ b/ace/Logging_Strategy.cpp @@ -11,7 +11,7 @@ ACE_RCSID(lib, Logging_Strategy, "$Id$") // Parse the string containing (thread) priorities and set them accordingly. void -ACE_Logging_Strategy::priorities (ACE_TCHAR *priority_string, +ACE_Logging_Strategy::priorities (ACE_TCHAR *priority_string, ACE_Log_Msg::MASK_TYPE mask) { u_long priority_mask = 0; @@ -169,8 +169,8 @@ ACE_Logging_Strategy::ACE_Logging_Strategy (void) ACE_NEW (this->filename_, ACE_TCHAR[MAXPATHLEN + 1]); // Get the temporary directory - if (ACE::get_temp_dir (this->filename_, - MAXPATHLEN - 7) == -1) // 7 for "logfile" + if (ACE_Lib_Find::get_temp_dir (this->filename_, + MAXPATHLEN - 7) == -1) // 7 for "logfile" { ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("Temporary path too long, ") @@ -197,7 +197,7 @@ ACE_Logging_Strategy::init (int argc, ACE_TCHAR *argv[]) ACE_TRACE ("ACE_Logging_Strategy::init"); // Store current priority masks for changes in <parse_args>. - + this->process_priority_mask_ = ACE_Log_Msg::instance ()->priority_mask (ACE_Log_Msg::PROCESS); @@ -209,10 +209,10 @@ ACE_Logging_Strategy::init (int argc, ACE_TCHAR *argv[]) // Setup priorities (to original if not specified on command line) - ACE_Log_Msg::instance ()->priority_mask (thread_priority_mask_, + ACE_Log_Msg::instance ()->priority_mask (thread_priority_mask_, ACE_Log_Msg::THREAD); - ACE_Log_Msg::instance ()->priority_mask (process_priority_mask_, + ACE_Log_Msg::instance ()->priority_mask (process_priority_mask_, ACE_Log_Msg::PROCESS); // Check if any flags were specified. If none were specified, let |