super(level);
}
public void log(int level, Object message, Throwable t, String location, int line, int column, Object... arguments)
{
Logger delegateLogger = ThreadLocalToolkit.getLogger();
if (delegateLogger != null)
{
String messageString = null;
if (message != null)
messageString = getLocalizedMessage(message.toString(), arguments);
if (level == FXGLogger.ERROR)
{
delegateLogger.logError(location, line, column, messageString);
}
else if (level == FXGLogger.WARN)
{
delegateLogger.logWarning(location, line, column, messageString);
}
else if (level == FXGLogger.INFO)
{
delegateLogger.logInfo(location, line, column, messageString);
}
else if (level == FXGLogger.DEBUG)
{
delegateLogger.logDebug(location, line, column, messageString);
}
}
}