Skip to content

Commit

Permalink
Changed to use InfoFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
phatboyg committed Jun 2, 2014
1 parent e95f844 commit 0695c2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Topshelf/Runtime/Windows/WindowsServiceHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,11 @@ protected override void OnCustomCommand(int command)
{
try
{
_log.Info(string.Format("[Topshelf] Custom command {0} received", command));
_log.InfoFormat("[Topshelf] Custom command {0} received", command);

_serviceHandle.CustomCommand(this, command);

_log.Info(string.Format("[Topshelf] Custom command {0} processed", command));
_log.InfoFormat("[Topshelf] Custom command {0} processed", command);
}
catch (Exception ex)
{
Expand Down

0 comments on commit 0695c2d

Please sign in to comment.