Skip to content

Commit

Permalink
Merge pull request #44489 from izeye
Browse files Browse the repository at this point in the history
* pr/44489:
  Add Javadoc since for new methods in LoggingSystemProperties

Closes gh-44489
  • Loading branch information
mhalbritter committed Feb 28, 2025
2 parents 8144155 + 3bc8727 commit 8957caf
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ public LoggingSystemProperties(Environment environment, Function<String, String>
this.setter = (setter != null) ? setter : systemPropertySetter;
}

/**
* Returns the {@link Console} to use.
* @return the {@link Console} to use
* @since 3.5.0
*/
protected Console getConsole() {
return System.console();
}
Expand Down Expand Up @@ -153,7 +158,8 @@ protected Charset getDefaultCharset() {

/**
* Returns the default console charset.
* @return returns the default console charset
* @return the default console charset
* @since 3.5.0
*/
protected Charset getDefaultConsoleCharset() {
Console console = getConsole();
Expand All @@ -162,7 +168,8 @@ protected Charset getDefaultConsoleCharset() {

/**
* Returns the default file charset.
* @return returns the default file charset
* @return the default file charset
* @since 3.5.0
*/
protected Charset getDefaultFileCharset() {
return StandardCharsets.UTF_8;
Expand Down

0 comments on commit 8957caf

Please sign in to comment.