16 lines
361 B
C++
16 lines
361 B
C++
// SPDX-FileCopyrightText: 2024 Yury Gubich <blue@macaw.me>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <gloox/loghandler.h>
|
|
#include <gloox/logsink.h>
|
|
|
|
class Logger: public gloox::LogHandler {
|
|
public:
|
|
Logger();
|
|
~Logger();
|
|
|
|
void handleLog(gloox::LogLevel level, gloox::LogArea area, const std::string& message) override;
|
|
};
|