rcl  master
C API providing common ROS client library functionality.
logging.h
Go to the documentation of this file.
1 // Copyright 2018 Open Source Robotics Foundation, Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef RCL__LOGGING_H_
16 #define RCL__LOGGING_H_
17 
18 #include "rcl/allocator.h"
19 #include "rcl/arguments.h"
20 #include "rcl/macros.h"
21 #include "rcl/types.h"
22 #include "rcl/visibility_control.h"
23 
24 #ifdef __cplusplus
25 extern "C"
26 {
27 #endif
28 
29 
31 
53  const rcl_arguments_t * global_args,
54  const rcl_allocator_t * allocator);
55 
73 
75 
92 
93 #ifdef __cplusplus
94 }
95 #endif
96 
97 #endif // RCL__LOGGING_H_
rcl_ret_t rcl_logging_fini()
rmw_ret_t rcl_ret_t
Definition: types.h:20
Hold output of parsing command line arguments.
Definition: arguments.h:32
#define RCL_WARN_UNUSED
Ignored return values of functions with this macro will emit a warning.
Definition: macros.h:25
#define RCL_PUBLIC
Definition: visibility_control.h:48
bool rcl_logging_rosout_enabled()
See if logging rosout is enabled.
rcl_ret_t rcl_logging_configure(const rcl_arguments_t *global_args, const rcl_allocator_t *allocator)
Configure the logging system.