Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/java/xbot/common/advantage/AKitLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public AKitLogger(IPropertySupport parent) {
this(parent.getPrefix());
}

public AKitLogger(Object object) {
this(object.getClass().getName() + "/");
}

/**
* Temporarily changes the log level for this logger while running the provided code.
* This is useful for cases where you want to log something at a different level than the rest of the logger's logs.
Expand Down