aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/logsink.h
blob: bdfc70cf8bde83f9cca8a604249b41dfae2fca9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* ----------------------------------------------------------------------------
 * logger.cpp
 *
 * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
 * See file LICENSE for more details
 * ----------------------------------------------------------------------------
 */

#ifndef YAGE_CORE_LOGSINK_H
#define YAGE_CORE_LOGSINK_H

#include "logmessage.h"

#include <string>

namespace yage
{

class LogSink
{
public:
    void operator()(const LogMessage::Meta &, const std::string &message);
};

} // namespace yage

#endif