Skip to content

Commit

Permalink
Full date in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Aug 20, 2015
1 parent be75849 commit 449d4e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Bootstrap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ private static void OnDisconnected(SteamClient.DisconnectedCallback callback)
{
if (!IsRunning)
{
Log.WriteInfo("Steam", "Shutting down...");

return;
}

Expand Down
2 changes: 1 addition & 1 deletion Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private static void WriteLine(Category category, string component, string format
{
string logLine = string.Format(
"{0} [{1}] {2}: {3}",
DateTime.Now.ToLongTimeString(),
DateTime.Now.ToString("R"),
category.ToString().ToUpper(),
component,
string.Format(format, args)
Expand Down

0 comments on commit 449d4e1

Please sign in to comment.