HHH-13520 Deprecate mutators on SqlStatementLogger

This commit is contained in:
Sanne Grinovero 2019-07-29 21:40:53 +01:00 committed by Sanne Grinovero
parent 095dd38223
commit 99398753c6
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. * Enable (true) or disable (false) logging to stdout.
* *
* @param logToStdout True to enable logging to stdout; false to disable. * @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) { public void setLogToStdout(boolean logToStdout) {
this.logToStdout = logToStdout; this.logToStdout = logToStdout;
} }
@ -64,6 +68,11 @@ public class SqlStatementLogger {
return format; return format;
} }
/**
* @deprecated Will likely be removed:
* Should either become immutable or threadsafe.
*/
@Deprecated
public void setFormat(boolean format) { public void setFormat(boolean format) {
this.format = format; this.format = format;
} }