public final class MaskingLogService extends java.lang.Object implements LogService
LogService
object and
the rate limit value in bytes per second.Modifier and Type | Class and Description |
---|---|
static class |
MaskingLogService.MaskingLogServiceConfig |
Constructor and Description |
---|
MaskingLogService(LogService logService,
int bytesPerSecond)
Constructor to create a
MaskingLogService object. |
MaskingLogService(MaskingLogService.MaskingLogServiceConfig maskingLogServiceConfig) |
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String msg,
java.lang.Object... params) |
void |
error(java.lang.String msg,
java.lang.Object... params) |
void |
info(java.lang.String msg,
java.lang.Object... params) |
void |
warn(java.lang.String msg,
java.lang.Object... params) |
public MaskingLogService(LogService logService, int bytesPerSecond)
MaskingLogService
object.logService
- LogService
object that will do the actual logging.bytesPerSecond
- The log rate limit in bytes per second.public MaskingLogService(MaskingLogService.MaskingLogServiceConfig maskingLogServiceConfig)
public void info(java.lang.String msg, java.lang.Object... params)
info
in interface LogService
public void debug(java.lang.String msg, java.lang.Object... params)
debug
in interface LogService
public void warn(java.lang.String msg, java.lang.Object... params)
warn
in interface LogService
public void error(java.lang.String msg, java.lang.Object... params)
error
in interface LogService