Flow-IPC 1.0.0
Flow-IPC project: Full implementation reference.
log_component_enum_declare.macros.hpp
Go to the documentation of this file.
1/* Flow-IPC: Core
2 * Copyright 2023 Akamai Technologies, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the
5 * "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy
7 * of the License at
8 *
9 * https://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in
12 * writing, software distributed under the License is
13 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
14 * CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing
16 * permissions and limitations under the License. */
17
18/// @file
19
20/// @cond
21// -^- Doxygen, please ignore the following. This is wacky macro magic and not a regular `#pragma once` header.
22
23/* This is modeled off the original, similarly-named, such file in Flow. See that for docs.
24 * The below should be self-explanatory; but if adding/editing it's best to refresh oneself on best practices. */
25
26// Rarely used component corresponding to log call sites outside namespace `ipc::X`, for all X in ::ipc.
27FLOW_LOG_CFG_COMPONENT_DEFINE(UNCAT, 0)
28// Logging from namespace ipc::session.
29FLOW_LOG_CFG_COMPONENT_DEFINE(SESSION, 1)
30// Logging from namespace ipc::transport.
31FLOW_LOG_CFG_COMPONENT_DEFINE(TRANSPORT, 2)
32// Logging from namespace ipc::shm.
33FLOW_LOG_CFG_COMPONENT_DEFINE(SHM, 3)
34// Logging from namespace ipc::util.
35FLOW_LOG_CFG_COMPONENT_DEFINE(UTIL, 4)
36// Logging from namespace ipc::*::test.
37FLOW_LOG_CFG_COMPONENT_DEFINE(TEST, 5)
38
39// -v- Doxygen, please stop ignoring.
40/// @endcond