PreforkLogger defines a logger for the prefork process manager. Compatible with fasthttp/prefork.Logger.
| 7 | // PreforkLogger defines a logger for the prefork process manager. |
| 8 | // Compatible with fasthttp/prefork.Logger. |
| 9 | type PreforkLogger interface { |
| 10 | // Printf must have the same semantics as log.Printf. |
| 11 | Printf(format string, args ...any) |
| 12 | } |
| 13 | |
| 14 | // preforkLogger adapts Fiber's logger to the PreforkLogger. |
| 15 | type preforkLogger struct{} |
no outgoing calls
no test coverage detected