|
|
|||
File indexing completed on 2025-12-16 09:40:53
0001 // Copyright 2022 The Abseil Authors. 0002 // 0003 // Licensed under the Apache License, Version 2.0 (the "License"); 0004 // you may not use this file except in compliance with the License. 0005 // You may obtain a copy of the License at 0006 // 0007 // https://www.apache.org/licenses/LICENSE-2.0 0008 // 0009 // Unless required by applicable law or agreed to in writing, software 0010 // distributed under the License is distributed on an "AS IS" BASIS, 0011 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0012 // See the License for the specific language governing permissions and 0013 // limitations under the License. 0014 // 0015 // ----------------------------------------------------------------------------- 0016 // File: log/initialize.h 0017 // ----------------------------------------------------------------------------- 0018 // 0019 // This header declares the Abseil Log initialization routine InitializeLog(). 0020 0021 #ifndef ABSL_LOG_INITIALIZE_H_ 0022 #define ABSL_LOG_INITIALIZE_H_ 0023 0024 #include "absl/base/config.h" 0025 0026 namespace absl { 0027 ABSL_NAMESPACE_BEGIN 0028 0029 // InitializeLog() 0030 // 0031 // Initializes the Abseil logging library. 0032 // 0033 // Before this function is called, all log messages are directed only to stderr. 0034 // After initialization is finished, log messages are directed to all registered 0035 // `LogSink`s. 0036 // 0037 // It is an error to call this function twice. 0038 // 0039 // There is no corresponding function to shut down the logging library. 0040 void InitializeLog(); 0041 0042 ABSL_NAMESPACE_END 0043 } // namespace absl 0044 0045 #endif // ABSL_LOG_INITIALIZE_H_
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|