aboutsummaryrefslogtreecommitdiffstats
path: root/vespalog/src/test/bufferedlogtest.logger2.cpp
blob: 6155c9e70eb0db0035eec9ada54bd809cd90d0ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include <vespa/log/bufferedlogger.h>
#include "bufferedlogtest.logger2.h"

LOG_SETUP(".logger2");

void logWithLogger2(const std::string& token, const std::string & message)
{
    LOGBT(info, token, "%s", message.c_str());
}