diff --git a/.github/README.md b/.github/README.md index 778ac58a..141a1a02 100644 --- a/.github/README.md +++ b/.github/README.md @@ -307,7 +307,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -451,7 +451,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) @@ -561,4 +561,4 @@ If you want to say **thank you** and/or support the active development of `Fiber ## ⚠️ License -`Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE) Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Fiber Contributors](https://github.com/gofiber/fiber/graphs/contributors). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International). \ No newline at end of file +`Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE) Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Fiber Contributors](https://github.com/gofiber/fiber/graphs/contributors). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International). diff --git a/.github/README_de.md b/.github/README_de.md index 5f82c655..8a9b7c77 100644 --- a/.github/README_de.md +++ b/.github/README_de.md @@ -306,7 +306,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -450,7 +450,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_es.md b/.github/README_es.md index e9c50871..446f5ddc 100644 --- a/.github/README_es.md +++ b/.github/README_es.md @@ -306,7 +306,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -450,7 +450,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_fr.md b/.github/README_fr.md index 3dc2882e..6ea42db2 100644 --- a/.github/README_fr.md +++ b/.github/README_fr.md @@ -306,7 +306,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -450,7 +450,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_id.md b/.github/README_id.md index 170b64cc..502e7846 100644 --- a/.github/README_id.md +++ b/.github/README_id.md @@ -308,7 +308,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -452,7 +452,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_ja.md b/.github/README_ja.md index 829a8953..19bac174 100644 --- a/.github/README_ja.md +++ b/.github/README_ja.md @@ -310,7 +310,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -454,7 +454,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_ko.md b/.github/README_ko.md index 057f85a5..dd1464c9 100644 --- a/.github/README_ko.md +++ b/.github/README_ko.md @@ -310,7 +310,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -454,7 +454,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_pt.md b/.github/README_pt.md index e0045b87..19ee983f 100644 --- a/.github/README_pt.md +++ b/.github/README_pt.md @@ -306,7 +306,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -450,7 +450,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_ru.md b/.github/README_ru.md index d39c7814..994fc1d9 100644 --- a/.github/README_ru.md +++ b/.github/README_ru.md @@ -308,7 +308,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -452,7 +452,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_tr.md b/.github/README_tr.md index fd5d8b71..b6930542 100644 --- a/.github/README_tr.md +++ b/.github/README_tr.md @@ -306,7 +306,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -450,7 +450,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_zh-CN.md b/.github/README_zh-CN.md index acfef361..d150a861 100644 --- a/.github/README_zh-CN.md +++ b/.github/README_zh-CN.md @@ -306,7 +306,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } @@ -450,7 +450,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500)