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 816ef4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 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,11 @@ 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 816ef4e

Please sign in to comment.