Fix: erroneous specifier used with ERR_FMT macro
[lttng-tools.git] / src / common / domain.cpp
1 /*
2 * Copyright (C) 2020 Simon Marchi <simon.marchi@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8 #include "common/macros.hpp"
9 #include "lttng/domain-internal.hpp"
10
11 const char *lttng_domain_type_str(enum lttng_domain_type domain_type)
12 {
13 switch (domain_type) {
14 case LTTNG_DOMAIN_NONE:
15 return "none";
16 case LTTNG_DOMAIN_KERNEL:
17 return "kernel";
18 case LTTNG_DOMAIN_UST:
19 return "user space";
20 case LTTNG_DOMAIN_JUL:
21 return "java.util.logging (JUL)";
22 case LTTNG_DOMAIN_LOG4J:
23 return "log4j";
24 case LTTNG_DOMAIN_PYTHON:
25 return "Python logging";
26 default:
27 return "???";
28 }
29 }
This page took 0.042583 seconds and 4 git commands to generate.