diff --git a/docs/layouts.md b/docs/layouts.md index fb77028..4174110 100644 --- a/docs/layouts.md +++ b/docs/layouts.md @@ -146,6 +146,7 @@ Fields can be any of: - `%M` function or method name (requires `enableCallStack: true` on the category, see [configuration object](api.md)) - `%C` class name (requires `enableCallStack: true` on the category, see [configuration object](api.md)) - `%A` function or method name alias (requires `enableCallStack: true` on the category, see [configuration object](api.md)) +- `%F` fully qualified caller name (requires `enableCallStack: true` on the category, see [configuration object](api.md)) - `%x{}` add dynamic tokens to your log. Tokens are specified in the tokens parameter. - `%X{}` add values from the Logger context. Tokens are keys into the context values. - `%[` start a coloured block (colour will be taken from the log level, similar to `colouredLayout`) diff --git a/lib/layouts.js b/lib/layouts.js index f9d99e5..2c01d96 100644 --- a/lib/layouts.js +++ b/lib/layouts.js @@ -112,6 +112,7 @@ function dummyLayout(loggingEvent) { * - %M method or function name * - %C class name * - %A method or function name + * - %F fully qualified caller name * - %x{} add dynamic tokens to your log. Tokens are specified in the tokens parameter * - %X{} add dynamic tokens to your log. Tokens are specified in logger context * You can use %[ and %] to define a colored block.