Flow
1.0.0
Flow project: Full implementation reference.
log
detail
log_fwd.hpp
Go to the documentation of this file.
1
/* Flow
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
#pragma once
20
21
#include "
flow/log/log_fwd.hpp
"
22
#include <boost/thread.hpp>
23
24
namespace
flow::log
25
{
26
// Types.
27
28
// Find doc headers near the bodies of these compound types.
29
30
class
Serial_file_logger;
31
32
// Globals.
33
34
/**
35
* Thread-local Msg_metadata object used by FLOW_LOG_WITHOUT_CHECKING() for an alleged perf bonus in the
36
* synchronous-Logger code path. It is allocated at the first log call site for a given thread; and auto-deallocated
37
* when thread exits.
38
*/
39
extern
boost::thread_specific_ptr<Msg_metadata>
this_thread_sync_msg_metadata_ptr
;
40
41
}
// namespace flow::log
log_fwd.hpp
flow::log
Flow module providing logging functionality.
Definition:
async_file_logger.cpp:28
flow::log::this_thread_sync_msg_metadata_ptr
boost::thread_specific_ptr< Msg_metadata > this_thread_sync_msg_metadata_ptr
Thread-local Msg_metadata object used by FLOW_LOG_WITHOUT_CHECKING() for an alleged perf bonus in the...
Definition:
log.cpp:28
Generated on Wed Mar 20 2024 04:45:33 for Flow by
1.9.4