Defines | Functions

LogAccess.cc File Reference

This file implements the LogAccess class. More...

#include "libts.h"
#include "Error.h"
#include "HTTP.h"
#include "P_Net.h"
#include "P_Cache.h"
#include "I_Machine.h"
#include "LogAccess.h"
#include "LogField.h"
#include "LogFilter.h"
#include "LogUtils.h"
#include "LogFormat.h"
#include "LogObject.h"
#include "LogConfig.h"
#include "LogBuffer.h"
#include "Log.h"
Include dependency graph for LogAccess.cc:

Go to the source code of this file.

Defines

#define LOG_INTEGER   RECD_INT
#define LOG_COUNTER   RECD_COUNTER
#define LOG_FLOAT   RECD_FLOAT
#define LOG_STRING   RECD_STRING

Functions

char * resolve_logfield_string (LogAccess *context, const char *format_str)

Detailed Description

This file implements the LogAccess class.

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 LogAccess class. However, LogAccess is an abstract base class, providing an interface that logging uses to get information from a module, such as HTTP or ICP. Each module derives a specific implementation from this base class (such as LogAccessHttp), and implements the virtual accessor functions there.

The LogAccess class also defines a set of static functions that are used to provide support for marshalling and unmarshalling support for the other LogAccess derived classes.

Definition in file LogAccess.cc.


Define Documentation

#define LOG_COUNTER   RECD_COUNTER
#define LOG_FLOAT   RECD_FLOAT
#define LOG_INTEGER   RECD_INT
#define LOG_STRING   RECD_STRING

Function Documentation

char* resolve_logfield_string ( LogAccess context,
const char *  format_str 
)