• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

shogi-server source


Commit MetaInfo

Revision3bb5010a22ea25d3710ec3e8e08af98b02f3c1d5 (tree)
Zeit2013-12-08 21:22:04
AutorDaigo Moriwaki <daigo@debi...>
CommiterDaigo Moriwaki

Log Message

Changed log messages and levels.

Ändern Zusammenfassung

Diff

--- a/changelog
+++ b/changelog
@@ -1,8 +1,9 @@
11 2013-12-08 Daigo Moriwaki <daigo at debian dot org>
22
33 * [shogi-server]
4- - shogi-server/shogi_server/pairing.rb: Modified comment for
5- LeastDiff match.
4+ - shogi-server/shogi_server/pairing.rb:
5+ - Modified comment for LeastDiff match.
6+ - Changed log messages and levels.
67
78 2013-12-07 Daigo Moriwaki <daigo at debian dot org>
89
--- a/shogi_server/pairing.rb
+++ b/shogi_server/pairing.rb
@@ -144,7 +144,7 @@ module ShogiServer
144144 def match(players)
145145 super
146146 if players.size < 2
147- log_warning("Floodgate: There should be more than one player (%d)." % [players.size])
147+ log_message("Floodgate: There are less than two players: %d" % [players.size])
148148 return
149149 end
150150 if players.size.odd?
@@ -167,7 +167,7 @@ module ShogiServer
167167 super
168168 log_players(players)
169169 if players.size < 2
170- log_warning("Floodgate: There should be more than one player (%d)." % [players.size])
170+ log_message("Floodgate: There are less than two players: %d" % [players.size])
171171 return
172172 elsif players.size == 2
173173 start_game_shuffle(players)