Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
changeset 238:55c94d438a4b
Re #58: Remove LogNotifier from API
* Add logging moved from API
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 17 Mar 2012 21:03:33 +0000 |
parents | ea5cb50ebe5e |
children | 2c3474d652e1 |
files | FrmMain.cs |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/FrmMain.cs Sat Jan 21 16:51:07 2012 +0000 +++ b/FrmMain.cs Sat Mar 17 21:03:33 2012 +0000 @@ -897,6 +897,15 @@ private void FrmMain_GameSystemChanged(GameSystem oldSystem, GameSystem newSystem) { + if (newSystem != null) + { + log.DebugFormat("Game system set to {0} with ID {1}", newSystem.Name, newSystem.ID); + } + else + { + log.Debug("Game system set to null"); + } + SetAppTitle(); if (newSystem == null)