From 24da7e8edc5e17784bef9bb6cb5e8a7d6b48ccaa Mon Sep 17 00:00:00 2001 From: Dyego Lima Date: Wed, 11 Sep 2019 13:46:15 -0300 Subject: [PATCH] chore: fix propMaxLength attribute doc --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 22dc609..131423c 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ const { httpLogger } = escriba({ onlyBody: false } ], - maxPropLength: { + propMaxLength: { body: 2048, url: 1024 } @@ -133,7 +133,7 @@ logger.info('some controller information', { id: req.id }) Also it's possible to skip logs or only the body property through skipRules, in the example we are skiping logs from route `/status` for `all methods` and skiping the `body` property from routes that ends with `.csv` or `.xlsx`. -The `maxPropLength` attribute is responsible to limit the number of characters for certain properties if they exist within `propsTolog` definition. +The `propMaxLength` attribute is responsible to limit the number of characters for certain properties if they exist within `propsTolog` definition. ## Masks