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

# log4c\_LOG4C\_MAJOR\_VERSION(3)

log4c version information

Part of [log4c\_version.h(3)](/log4c_version.h/3.md).

## NAME

version.h - log4c version information

## SYNOPSIS

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

### Macros

\#define **LOG4C\_MAJOR\_VERSION**   1\
 \#define **LOG4C\_MINOR\_VERSION**   2\
 \#define **LOG4C\_MICRO\_VERSION**   4\

### Functions

const char \* **log4c\_version** (void)\

### Variables

const int **log4c\_major\_version**\
 const int **log4c\_minor\_version**\
 const int **log4c\_micro\_version**\

## Detailed Description

log4c version information

## Macro Definition Documentation

### #define LOG4C\_MAJOR\_VERSION 1

constant macro holding the major version of log4c

### #define LOG4C\_MICRO\_VERSION 4

constant macro holding the micro version of log4c

### #define LOG4C\_MINOR\_VERSION 2

constant macro holding the minor version of log4c

## Function Documentation

### const char \* log4c\_version (void)` [extern]`

**Returns**

a string containing the full log4c version

## Variable Documentation

### const int log4c\_major\_version` [extern]`

constant variable holding the major version of log4c

### const int log4c\_micro\_version` [extern]`

constant variable holding the micro version of log4c

### const int log4c\_minor\_version` [extern]`

constant variable holding the minor version of log4c

## Author

Generated automatically by Doxygen for log4c from the source code.
