---
name: "log4c_layout_type_basic.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_layout_type_basic.h"
---

# log4c\_layout\_type\_basic.h(3)

Implement a basic layout.

## NAME

layout\_type\_basic.h - Implement a basic layout.

## SYNOPSIS

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

## Detailed Description

Implement a basic layout.

In `log4j.PatternLayout` conventions, the basic layout has the following conversion pattern: `'%P %c - %m\n'`.

Where

- •

  `'%P'` is the priority of the logging event

- •

  `'%c'` is the category of the logging event

- •

  `'%m'` is the application supplied message associated with the logging event

## Author

Generated automatically by Doxygen for log4c from the source code.
