function formatTier(tier) {
tier = tier.replace("10", "challenger").replace("0", "unranked").replace("1", "iron").replace("2", "bronze").replace("3", "silver").replace("4", "gold").replace("5", "platinum").replace("6", "emerald").replace("7", "diamond").replace("8", "master").replace("9", "grandmaster");
return tier;
}
Учимся готовить Log4j + Logstash + ElasticSearch +...