atscppapi
1.0.9
C++ wrapper for Apache Traffic Server API
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Enumerations
Enumerator
Macros
src
include
logging_internal.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013 LinkedIn Corp. All rights reserved.
3
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
4
* except in compliance with the License. You may obtain a copy of the license at
5
* http://www.apache.org/licenses/LICENSE-2.0
6
*
7
* Unless required by applicable law or agreed to in writing, software distributed under the
8
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
9
* either express or implied.
10
*
11
*/
12
13
/**
14
* @file logging_internal.h
15
*
16
* @author Brian Geffon
17
* @author Manjesh Nilange
18
*
19
* @brief logging used inside the atscppapi library.
20
*/
21
22
#pragma once
23
#ifndef ATSCPPAPI_LOGGING_INTERNAL_H_
24
#define ATSCPPAPI_LOGGING_INTERNAL_H_
25
26
#include "
atscppapi/Logger.h
"
27
28
// Because we have the helper in Logger.h with the same name.
29
#ifdef LOG_DEBUG
30
#undef LOG_DEBUG
31
#endif
32
33
#ifdef LOG_ERROR
34
#undef LOG_ERROR
35
#endif
36
37
#define LOG_DEBUG(fmt, ...) TS_DEBUG("atscppapi", fmt, ## __VA_ARGS__)
38
#define LOG_ERROR(fmt, ...) TS_ERROR("atscppapi", fmt, ## __VA_ARGS__)
39
40
#endif
/* ATSCPPAPI_LOGGING_INTERNAL_H_ */
Generated on Mon Oct 14 2013 11:39:29 for atscppapi by
1.8.3.1