namespace PT renamed to pt
This commit is contained in:
@@ -72,7 +72,7 @@ void Log::SetMaxRequests(int max_requests)
|
||||
|
||||
|
||||
|
||||
void Log::PrintDate(const PT::Date & date)
|
||||
void Log::PrintDate(const pt::Date & date)
|
||||
{
|
||||
FileLog * winix_file_log = dynamic_cast<FileLog*>(file_log);
|
||||
|
||||
@@ -86,7 +86,7 @@ void Log::PrintDate(const PT::Date & date)
|
||||
|
||||
Log & Log::operator<<(const void * s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ Log & Log::operator<<(const void * s)
|
||||
|
||||
Log & Log::operator<<(const char * s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ Log & Log::operator<<(const char * s)
|
||||
|
||||
Log & Log::operator<<(const std::string & s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ Log & Log::operator<<(const std::string & s)
|
||||
|
||||
Log & Log::operator<<(const std::string * s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@ Log & Log::operator<<(const std::string * s)
|
||||
|
||||
Log & Log::operator<<(const wchar_t * s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ Log & Log::operator<<(const wchar_t * s)
|
||||
|
||||
Log & Log::operator<<(const std::wstring & s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ Log & Log::operator<<(const std::wstring & s)
|
||||
|
||||
Log & Log::operator<<(const std::wstring * s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ Log & Log::operator<<(const std::wstring * s)
|
||||
|
||||
Log & Log::operator<<(int s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ Log & Log::operator<<(int s)
|
||||
|
||||
Log & Log::operator<<(long s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -162,21 +162,21 @@ Log & Log::operator<<(long s)
|
||||
|
||||
Log & Log::operator<<(char s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Log & Log::operator<<(wchar_t s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Log & Log::operator<<(size_t s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -184,30 +184,30 @@ Log & Log::operator<<(size_t s)
|
||||
|
||||
Log & Log::operator<<(double s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Log & Log::operator<<(const PT::Space & s)
|
||||
Log & Log::operator<<(const pt::Space & s)
|
||||
{
|
||||
PT::Log::operator<<(s);
|
||||
pt::Log::operator<<(s);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Log & Log::operator<<(const PT::Date & date)
|
||||
Log & Log::operator<<(const pt::Date & date)
|
||||
{
|
||||
PT::Log::operator<<(date);
|
||||
pt::Log::operator<<(date);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Log & Log::operator<<(morm::Model & model)
|
||||
{
|
||||
PT::Log::operator<<(model);
|
||||
pt::Log::operator<<(model);
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -217,27 +217,27 @@ Log & Log::operator<<(LogManipulators m)
|
||||
switch(m)
|
||||
{
|
||||
case LogManipulators::log1:
|
||||
PT::Log::operator<<(PT::Log::log1);
|
||||
pt::Log::operator<<(pt::Log::log1);
|
||||
break;
|
||||
|
||||
case LogManipulators::log2:
|
||||
PT::Log::operator<<(PT::Log::log2);
|
||||
pt::Log::operator<<(pt::Log::log2);
|
||||
break;
|
||||
|
||||
case LogManipulators::log3:
|
||||
PT::Log::operator<<(PT::Log::log3);
|
||||
pt::Log::operator<<(pt::Log::log3);
|
||||
break;
|
||||
|
||||
case LogManipulators::log4:
|
||||
PT::Log::operator<<(PT::Log::log4);
|
||||
pt::Log::operator<<(pt::Log::log4);
|
||||
break;
|
||||
|
||||
case LogManipulators::logend:
|
||||
PT::Log::operator<<(PT::Log::logend);
|
||||
pt::Log::operator<<(pt::Log::logend);
|
||||
break;
|
||||
|
||||
case LogManipulators::logsave:
|
||||
PT::Log::operator<<(PT::Log::logsave);
|
||||
pt::Log::operator<<(pt::Log::logsave);
|
||||
break;
|
||||
|
||||
case LogManipulators::logendrequest:
|
||||
@@ -274,27 +274,27 @@ return *this;
|
||||
|
||||
Log & Log::LogString(const std::string & value, size_t max_size)
|
||||
{
|
||||
PT::Log::LogString(value, max_size);
|
||||
pt::Log::LogString(value, max_size);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Log & Log::LogString(const std::wstring & value, size_t max_size)
|
||||
{
|
||||
PT::Log::LogString(value, max_size);
|
||||
pt::Log::LogString(value, max_size);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Log & Log::LogBinary(const char * blob, size_t blob_len)
|
||||
{
|
||||
PT::Log::LogBinary(blob, blob_len);
|
||||
pt::Log::LogBinary(blob, blob_len);
|
||||
return *this;
|
||||
}
|
||||
|
||||
Log & Log::LogBinary(const std::string & blob)
|
||||
{
|
||||
PT::Log::LogBinary(blob);
|
||||
pt::Log::LogBinary(blob);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user