HHH-13520 Deprecate mutators on SqlStatementLogger
This commit is contained in:
parent
095dd38223
commit
99398753c6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue