logger.hpp
1 /*
2  * Copyright (c) 2025, NVIDIA CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #pragma once
18 
19 #include <cudf/logger_macros.hpp>
20 #include <cudf/utilities/export.hpp>
21 
22 #include <rapids_logger/logger.hpp>
23 
24 namespace CUDF_EXPORT cudf {
25 
34 rapids_logger::sink_ptr default_logger_sink();
35 
41 std::string default_logger_pattern();
42 
48 rapids_logger::logger& default_logger();
49 
50 } // namespace CUDF_EXPORT cudf
cuDF interfaces
Definition: host_udf.hpp:37
std::string default_logger_pattern()
Returns the default log pattern for the global logger.
rapids_logger::sink_ptr default_logger_sink()
Returns the default sink for the global logger.
rapids_logger::logger & default_logger()
Get the default logger.