Skip to content
Snippets Groups Projects
Commit 85d975f5 authored by Mark Woolrich's avatar Mark Woolrich
Browse files

*** empty log message ***

parent 6cf052e2
No related branches found
No related tags found
No related merge requests found
...@@ -7,11 +7,27 @@ ...@@ -7,11 +7,27 @@
/* CCOPYRIGHT */ /* CCOPYRIGHT */
#include "Log.h" #include "Log.h"
#include <iostream>
#include <fstream>
#include <strstream>
#include <string>
namespace Utilities { namespace Utilities {
Log* Log::logger = NULL; Log* Log::logger = NULL;
int Log::count = 0;
template<class t> string tostring(const t obj)
{
char strc[100];
ostrstream str(strc,100);
str << obj << '\0';
return string(strc);
}
// SPECIFIC INSTANTIATIONS
template<int> string tostring(const int obj);
void Log::makeDir(const string& pdirname, const string& plogfilename) void Log::makeDir(const string& pdirname, const string& plogfilename)
{ {
dir = pdirname; dir = pdirname;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment