mirror of
https://github.com/gofiber/fiber.git
synced 2025-02-07 05:11:36 +00:00
While not all implementations of io.Write will be goroutine safe, the vast majority of users of the logger middleware are likely to use os.File, which does implement safe concurrent writes. If users require locking, they can implement this on an as-needed basis. The risk of having global locking is that a slow write can hold up the entire server.