added: now winix will not log post parameters with 'pass' in names (at the beginning)

changed: only first few characters are logged (from POST)


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@733 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-06-06 22:47:34 +00:00
parent c84997be30
commit af8fbdae72
10 changed files with 99 additions and 35 deletions

View File

@@ -2,7 +2,7 @@
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2008-2010, Tomasz Sowa
* Copyright (c) 2008-2011, Tomasz Sowa
* All rights reserved.
*
*/
@@ -199,6 +199,16 @@ Log & Log::operator<<(char s)
}
Log & Log::operator<<(wchar_t s)
{
if( current_level <= log_level )
{
buffer << s;
}
return *this;
}
Log & Log::operator<<(size_t s)
{
@@ -269,6 +279,7 @@ return *this;
}
void Log::SystemErr(int err)
{
(*this) << "errno: " << err;