diff options
Diffstat (limited to 'yage/core/logsink.h')
-rw-r--r-- | yage/core/logsink.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/yage/core/logsink.h b/yage/core/logsink.h new file mode 100644 index 00000000..bdfc70cf --- /dev/null +++ b/yage/core/logsink.h @@ -0,0 +1,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 |