Increased LogMessage's default source padding

This commit is contained in:
RogueException
2016-07-21 17:47:14 -03:00
parent 556f6a864a
commit e179c85896
2 changed files with 3 additions and 3 deletions

View File

@@ -14,10 +14,10 @@ namespace Discord.Commands
else if (constructors.Length > 1)
throw new InvalidOperationException($"Multiple constructors found for \"{typeInfo.FullName}\"");
var constructor = constructors[0];
var constructor = constructors[0];
ParameterInfo[] parameters = constructor.GetParameters();
object[] args = new object[parameters.Length];
for (int i = 0; i < parameters.Length; i++)
{
var parameter = parameters[i];

View File

@@ -19,7 +19,7 @@ namespace Discord
}
public override string ToString() => ToString(null);
public string ToString(StringBuilder builder = null, bool fullException = true, bool prependTimestamp = true, DateTimeKind timestampKind = DateTimeKind.Local, int? padSource = 7)
public string ToString(StringBuilder builder = null, bool fullException = true, bool prependTimestamp = true, DateTimeKind timestampKind = DateTimeKind.Local, int? padSource = 9)
{
string sourceName = Source;
string message = Message;