Data Structures | Enumerations | Variables

LogBuffer.cc File Reference

This file implements the LogBuffer class, a thread-safe buffer for. More...

#include "libts.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "Error.h"
#include "P_EventSystem.h"
#include "LogField.h"
#include "LogFilter.h"
#include "LogFormat.h"
#include "LogUtils.h"
#include "LogFile.h"
#include "LogHost.h"
#include "LogObject.h"
#include "LogAccess.h"
#include "LogConfig.h"
#include "LogBuffer.h"
#include "Log.h"
Include dependency graph for LogBuffer.cc:

Go to the source code of this file.

Data Structures

struct  FieldListCacheElement

Enumerations

enum  { FIELDLIST_CACHE_SIZE = 256 }

Variables

FieldListCacheElement fieldlist_cache [FIELDLIST_CACHE_SIZE]
int fieldlist_cache_entries = 0

Detailed Description

This file implements the LogBuffer class, a thread-safe buffer for.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

description

This file implements the LogBuffer class, a thread-safe buffer for recording log entries. See the header file LogBuffer.h for more information on the structure of a LogBuffer.

Definition in file LogBuffer.cc.


Enumeration Type Documentation

anonymous enum
Enumerator:
FIELDLIST_CACHE_SIZE 

Definition at line 55 of file LogBuffer.cc.


Variable Documentation

FieldListCacheElement fieldlist_cache[FIELDLIST_CACHE_SIZE]

Definition at line 60 of file LogBuffer.cc.

Definition at line 61 of file LogBuffer.cc.

Referenced by LogBuffer::to_ascii().