File tree Expand file tree Collapse file tree
Plugins/IngameDebugConsole/Scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1763,9 +1763,9 @@ public string GetAllLogs()
17631763 }
17641764
17651765 if ( uncollapsedLogEntriesTimestamps != null )
1766- length += count * 12 ; // Timestamp: "[HH:mm:ss]: "
1766+ length += count * 30 ;
17671767
1768- length += 100 ; // Just in case...
1768+ length += 200 ; // Just in case...
17691769
17701770 StringBuilder sb = new StringBuilder ( length ) ;
17711771 for ( int i = 0 ; i < count ; i ++ )
@@ -1774,13 +1774,16 @@ public string GetAllLogs()
17741774
17751775 if ( uncollapsedLogEntriesTimestamps != null )
17761776 {
1777- uncollapsedLogEntriesTimestamps [ i ] . AppendTime ( sb ) ;
1777+ uncollapsedLogEntriesTimestamps [ i ] . AppendFullTimestamp ( sb ) ;
17781778 sb . Append ( ": " ) ;
17791779 }
17801780
17811781 sb . AppendLine ( entry . logString ) . AppendLine ( entry . stackTrace ) . AppendLine ( ) ;
17821782 }
17831783
1784+ sb . Append ( "Current time: " ) . AppendLine ( ( System . DateTime . UtcNow + localTimeUtcOffset ) . ToString ( "F" ) ) ;
1785+ sb . Append ( "Version: " ) . AppendLine ( Application . version ) ;
1786+
17841787 return sb . ToString ( ) ;
17851788 }
17861789
You can’t perform that action at this time.
0 commit comments