Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Pugzy committed Nov 6, 2024
1 parent a3c9e3f commit 51a6564
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/src/main/java/tc/oc/pgm/api/channels/Channel.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ default SettingValue getSetting() {
return null;
}

/**
* Retrieves the format these channel messages should be logged using via the
* {@code AsyncPlayerChatEvent}.
*
* @param target the message target
* @return formatted messaged printed to console
*/
default String getLoggerFormat(T target) {
return "<%s>: %s";
}
Expand Down

0 comments on commit 51a6564

Please sign in to comment.