HHH-13520 Deprecate mutators on SqlStatementLogger

This commit is contained in:
Sanne Grinovero 2019-07-29 21:40:53 +01:00
parent 0387090bba
commit 3483d7c022
1 changed files with 9 additions and 0 deletions

View File

@ -55,7 +55,11 @@ public class SqlStatementLogger {
* Enable (true) or disable (false) logging to stdout.
*
* @param logToStdout True to enable logging to stdout; false to disable.
*
* @deprecated Will likely be removed:
* Should either become immutable or threadsafe.
*/
@Deprecated
public void setLogToStdout(boolean logToStdout) {
this.logToStdout = logToStdout;
}
@ -64,6 +68,11 @@ public class SqlStatementLogger {
return format;
}
/**
* @deprecated Will likely be removed:
* Should either become immutable or threadsafe.
*/
@Deprecated
public void setFormat(boolean format) {
this.format = format;
}