aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/tvmauth/client/logger.cpp
blob: 007f696433d3340dab9ce864d09543219314ecc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "logger.h" 
 
#include <util/datetime/base.h> 
#include <util/generic/string.h> 
 
namespace NTvmAuth { 
    void TCerrLogger::Log(int lvl, const TString& msg) { 
        if (lvl > Level_) 
            return; 
        Cerr << TInstant::Now().ToStringLocal() << " lvl=" << lvl << " msg: " << msg << "\n"; 
    } 
}