SetGetClientFunc sets the function which determines the apparent IP address set by a reverse proxy for the standard logger.
(f GetClientFunc)
| 459 | // SetGetClientFunc sets the function which determines the apparent IP address |
| 460 | // set by a reverse proxy for the standard logger. |
| 461 | func SetGetClientFunc(f GetClientFunc) { |
| 462 | std.SetGetClientFunc(f) |
| 463 | } |
| 464 | |
| 465 | // SetExcludePaths sets the path to exclude from logging, eg: health checks |
| 466 | func SetExcludePaths(s []string) { |
no test coverage detected