Format the project with 'dotnet format' (#2551)
* Sync and Re-Format * Fix Title string. * Fix indentation.
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Discord
|
||||
Message = message;
|
||||
Exception = exception;
|
||||
}
|
||||
|
||||
|
||||
public override string ToString() => ToString();
|
||||
public string ToString(StringBuilder builder = null, bool fullException = true, bool prependTimestamp = true, DateTimeKind timestampKind = DateTimeKind.Local, int? padSource = 11)
|
||||
{
|
||||
@@ -60,9 +60,9 @@ namespace Discord
|
||||
string message = Message;
|
||||
string exMessage = fullException ? Exception?.ToString() : Exception?.Message;
|
||||
|
||||
int maxLength = 1 +
|
||||
int maxLength = 1 +
|
||||
(prependTimestamp ? 8 : 0) + 1 +
|
||||
(padSource.HasValue ? padSource.Value : sourceName?.Length ?? 0) + 1 +
|
||||
(padSource.HasValue ? padSource.Value : sourceName?.Length ?? 0) + 1 +
|
||||
(message?.Length ?? 0) +
|
||||
(exMessage?.Length ?? 0) + 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user