---
name: "log4c_location_info.h"
section: "3"
platform: "linux"
package: "liblog4c-doc"
version: "1.2.4-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/log4c_location_info.h"
---

# log4c\_location\_info.h(3)

The internal representation of caller location information.

## NAME

location\_info.h - The internal representation of caller location information.

## SYNOPSIS

`#include <log4c/defs.h>`\

### Data Structures

struct **log4c\_location\_info\_t**\
 logging location information

### Macros

\#define **LOG4C\_LOCATION\_INFO\_INITIALIZER**(user\_data)   { \_\_FILE\_\_, \_\_LINE\_\_, '(nil)', user\_data }\
 \#define **log4c\_location**   \_\_log4c\_location(\_\_LINE\_\_)\

## Detailed Description

The internal representation of caller location information.

When a affirmative logging decision is made a **log4c\_location\_info\_t** is created and is passed around the different log4c components.

## Macro Definition Documentation

### #define log4c\_location \_\_log4c\_location(\_\_LINE\_\_)

This macro returns the literal representation of a logging event location

### #define LOG4C\_LOCATION\_INFO\_INITIALIZER(user\_data) { \_\_FILE\_\_, \_\_LINE\_\_, '(nil)', user\_data }

**log4c\_location\_info\_t** initializer

## Author

Generated automatically by Doxygen for log4c from the source code.
