2 * Copyright (C) 2020 Simon Marchi <simon.marchi@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
8 #include "common/macros.hpp"
9 #include "lttng/domain-internal.hpp"
11 const char *lttng_domain_type_str(enum lttng_domain_type domain_type
)
13 switch (domain_type
) {
14 case LTTNG_DOMAIN_NONE
:
16 case LTTNG_DOMAIN_KERNEL
:
18 case LTTNG_DOMAIN_UST
:
20 case LTTNG_DOMAIN_JUL
:
21 return "java.util.logging (JUL)";
22 case LTTNG_DOMAIN_LOG4J
:
24 case LTTNG_DOMAIN_PYTHON
:
25 return "Python logging";