Sets the masking middleware that is then used by all Loggers that do not
provide a custom middleware as a Logger constructor parameter.
It is possible to unset the middleware if this function is called without
passing any parameter. It is recommended to call it once on app startup.
Sets the masking middleware that is then used by all Loggers that do not provide a custom middleware as a Logger constructor parameter. It is possible to unset the middleware if this function is called without passing any parameter. It is recommended to call it once on app startup.