More actions got logging. Some refactoring to use ActionWithResult.

This commit is contained in:
magenoxx 2012-01-26 00:40:00 +04:00
parent 039d9663f0
commit a60c61cb00
5 changed files with 82 additions and 22 deletions

View file

@ -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);
}