forked from External/mage
More actions got logging. Some refactoring to use ActionWithResult.
This commit is contained in:
parent
039d9663f0
commit
a60c61cb00
5 changed files with 82 additions and 22 deletions
|
|
@ -6,7 +6,12 @@ package mage.server.services;
|
|||
* @author noxx
|
||||
*/
|
||||
public interface LogService {
|
||||
public static final String KEY_GAME_STARTED = "gameStarted";
|
||||
|
||||
/**
|
||||
* Logs any information
|
||||
*
|
||||
* @param key Log key. Should be the same for the same types of logs.
|
||||
* @param args Any parameters in string representation.
|
||||
*/
|
||||
void log(String key, String... args);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue