added: to TextStream<> and Log:
operator<<(const tm & tm_) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@797 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
11
core/log.cpp
11
core/log.cpp
@@ -255,6 +255,17 @@ return *this;
|
||||
}
|
||||
|
||||
|
||||
Log & Log::operator<<(const tm & tm_)
|
||||
{
|
||||
if( current_level <= log_level )
|
||||
{
|
||||
buffer << tm_;
|
||||
}
|
||||
|
||||
return *this;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Log & Log::operator<<(LogManipulators m)
|
||||
{
|
||||
|
Reference in New Issue
Block a user