* Fixed default's HandlersProvider instance creation
* Fixed all of the message filters faulting because of wrong execution sequence * Removed default Host loggers * Fixed descriptors indexing
This commit is contained in:
@@ -127,12 +127,13 @@ namespace Telegrator.Hosting
|
||||
foreach (UpdateType updateType in handlers.Keys)
|
||||
{
|
||||
HandlerDescriptorList descriptors = handlers[updateType];
|
||||
logBuilder.AppendLine("\n\tUpdateType." + updateType + " :");
|
||||
logBuilder.Append("\n\tUpdateType." + updateType + " :");
|
||||
|
||||
foreach (HandlerDescriptor descriptor in descriptors.Reverse())
|
||||
{
|
||||
string indexerString = descriptor.Indexer.ToString();
|
||||
logBuilder.AppendLine("* " + indexerString + " " + (descriptor.DisplayString ?? descriptor.HandlerType.Name));
|
||||
logBuilder.AppendFormat("\n\t* {0} - {1}",
|
||||
descriptor.Indexer.ToString(),
|
||||
descriptor.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user