aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/tvmauth/client/logger.cpp
blob: bd63773cdfe1c31a76e4620f5f56cd1ae86294dd (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";
    }
}