Hao Chun Chang
67021360e1
🔥 Feature: Add AllLogger to Config ( #3153 )
...
* 🔥 Feature: Add SetFlags to Logger Interface
🔥 Feature: Add fiberlog Logger field to config
* 🚨 Test: custom-defined Logger and LoggerFunc
* 📚 Doc: add LoggerFunc and Logger to middleware logger
* 🚨 Test: fine-tune custom Logger and LoggerFunc
* 📚 Doc: add Logger documentation
📚 Doc: add custom Logger example
* 🩹 fix: add default Logger field to default config
* 📚 Doc: remove Logger field in middleware logger
📚 Doc: add example of using fiber logger interface
* 🚨 Test: add tests for using fiber logger interface wrapper
* 📚 Doc: update custom logger example
* Update docs/middleware/logger.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* update
* update logger docs
* update what's new
* replace setflags with getloggerinstance
* fix linter
* update
* Fix markdownlint issues
* apply reviews & improve coverage
* fix linter
* rename controllogger
* Update whats_new.md
expandable example
---------
Co-authored-by: RW <rene@gofiber.io>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Muhammed Efe Cetin <efectn@protonmail.com>
Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
2024-12-01 13:32:52 +01:00
nickajacks1
92dd8d6917
🎨 Style: Add inamedparam linter ( #2848 )
...
inamedparam enforces that parameters in interface definitions be named.
This is important for clarity so that users and implementers can easily
understand the purpose of each parameter.
2024-02-10 22:36:49 +01:00
nickajacks1
59410278f1
chore: change interface{} to any ( #2796 )
2024-01-14 23:04:54 +03:00
Jiun Lee
fefc533834
🚀 Add Logger interface and fiberlog ( #2499 )
...
* add log for fiber
* replace log in fiber
* add Log use to adapt for log libraries
* Update app.go
Co-authored-by: Tomás Warynyca <41587659+tomaswarynyca@users.noreply.github.com>
* wip: add log docs
* add WithLogger use to print key and value
* remove CtxLogger and add WithContext use to bind Context
* fix errcheck
* fix errcheck
* update log.md
---------
Co-authored-by: Tomás Warynyca <41587659+tomaswarynyca@users.noreply.github.com>
2023-06-26 08:16:57 +02:00