Layout(3) User Contributed Perl Documentation Layout(3)

# [NAME](#NAME)

Log::Log4perl::Layout - Log4perl Layout Virtual Base Class

# [SYNOPSIS](#SYNOPSIS)

```
    # Not to be used directly, see below
```

# [DESCRIPTION](#DESCRIPTION)

"Log::Log4perl::Layout" is a virtual base class for the two currently implemented layout types

```
    Log::Log4perl::Layout::SimpleLayout
    Log::Log4perl::Layout::PatternLayout
```

Unless you're implementing a new layout class for Log4perl, you shouldn't use this class directly, but rather refer to Log::Log4perl::Layout::SimpleLayout or Log::Log4perl::Layout::PatternLayout.

# [LICENSE](#LICENSE)

Copyright 2002-2026 by Mike Schilli &lt;m@perlmeister.com&gt; and Kevin Goess &lt;cpan@goess.org&gt;.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2026-08-17 perl v5.44.0

---

Document: Log::Log4perl::Layout(3pm) from perl-log-log4perl 1.58-r1 (Chainguard OS)
Source: https://github.com/mschilli/log4perl.git
