Tomáš Pecka | a433681 | 2020-07-24 15:32:58 +0200 | [diff] [blame] | 1 | /* |
2 | * Copyright (C) 2016-2019 CESNET, https://photonics.cesnet.cz/ | ||||
3 | * | ||||
4 | * Written by Jan Kundrát <jan.kundrat@cesnet.cz> | ||||
5 | * | ||||
6 | */ | ||||
7 | |||||
8 | #pragma once | ||||
9 | |||||
10 | #include <memory> | ||||
11 | |||||
12 | namespace spdlog { | ||||
13 | namespace sinks { | ||||
14 | class sink; | ||||
15 | } | ||||
16 | } | ||||
17 | |||||
18 | namespace velia::utils { | ||||
19 | bool isJournaldActive(); | ||||
20 | std::shared_ptr<spdlog::sinks::sink> create_journald_sink(); | ||||
21 | } |