Browse Source

cleaned up namespace in snfLOGmgr

master
Pete McNeil 4 years ago
parent
commit
272fb6e0f0
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      snfLOGmgr.cpp

+ 2
- 2
snfLOGmgr.cpp View File

#include <sstream> #include <sstream>
#include <iomanip> #include <iomanip>


using namespace std;
namespace cd = codedweller;


//// DiscLogger //////////////////////////////////////////////////////////////// //// DiscLogger ////////////////////////////////////////////////////////////////


return s; // return it. return s; // return it.
} }


RuntimeCheck LocalTimestampGoodTimestampLength("snfLOGmgr.cpp:LocalTimestamp snprintf(...) == CorrectTimestampLength");
cd::RuntimeCheck LocalTimestampGoodTimestampLength("snfLOGmgr.cpp:LocalTimestamp snprintf(...) == CorrectTimestampLength");


string snfLOGmgr::LocalTimestamp(time_t t) { // Convert time_t to a local timestamp s. string snfLOGmgr::LocalTimestamp(time_t t) { // Convert time_t to a local timestamp s.
char TimestampBfr[16]; // Create a small buffer. char TimestampBfr[16]; // Create a small buffer.

Loading…
Cancel
Save