OSSIA
Open Scenario System for Interactive Application
ossia/detail/logger.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <ossia/detail/logger_fwd.hpp>
4
5
#if !defined(OSSIA_BRUH_LOGGER)
6
7
// They have to be in this order
8
#define SPDLOG_FINAL final
9
#include <ossia/detail/fmt.hpp>
10
11
#include <spdlog/logger.h>
12
13
#endif
14
19
namespace
ossia
20
{
21
22
#if defined(OSSIA_BRUH_LOGGER)
23
struct
OSSIA_EXPORT bruh_logger
24
{
25
template
<
typename
... T>
26
explicit
bruh_logger(T&&...)
27
{
28
}
29
template
<
typename
... T>
30
void
log(T&&... args)
31
{
32
}
33
template
<
typename
... T>
34
void
trace(T&&... args)
35
{
36
}
37
template
<
typename
... T>
38
void
info(T&&... args)
39
{
40
}
41
template
<
typename
... T>
42
void
debug(T&&... args)
43
{
44
}
45
template
<
typename
... T>
46
void
warn(T&&... args)
47
{
48
}
49
template
<
typename
... T>
50
void
error(T&&... args)
51
{
52
}
53
template
<
typename
... T>
54
void
critical
(T&&... args)
55
{
56
}
57
template
<
typename
... T>
58
void
set_pattern(T&&... args)
59
{
60
}
61
template
<
typename
... T>
62
void
set_level(T&&... args)
63
{
64
}
65
66
std::vector<std::shared_ptr<spdlog::sinks::sink>>& sinks();
67
};
68
#endif
69
}
ossia
Definition:
git_info.h:7
ossia::net::critical
bool critical
Means that the node is very important, e.g. a "play" message.
Definition:
node_attributes.hpp:92
src
ossia
detail
logger.hpp
Generated on Fri Nov 15 2024 13:39:28 for OSSIA by
1.9.1