1
#include "source/extensions/access_loggers/common/access_log_base.h"
2

            
3
#include "source/common/http/header_map_impl.h"
4
#include "source/common/singleton/const_singleton.h"
5

            
6
namespace Envoy {
7
namespace Extensions {
8
namespace AccessLoggers {
9
namespace Common {
10

            
11
void ImplBase::log(const Formatter::Context& log_context,
12
75294
                   const StreamInfo::StreamInfo& stream_info) {
13

            
14
75294
  if (filter_ && !filter_->evaluate(log_context, stream_info)) {
15
338
    return;
16
338
  }
17

            
18
74956
  return emitLog(log_context, stream_info);
19
75294
}
20

            
21
} // namespace Common
22
} // namespace AccessLoggers
23
} // namespace Extensions
24
} // namespace Envoy