Improve logging
This commit is contained in:
parent
8227f9af43
commit
435bf77d53
@ -410,7 +410,7 @@ internal sealed class QuestController
|
|||||||
{
|
{
|
||||||
IList<ITask> tasks = x.CreateAllTasks(CurrentQuest.Quest, seq, step).ToList();
|
IList<ITask> tasks = x.CreateAllTasks(CurrentQuest.Quest, seq, step).ToList();
|
||||||
|
|
||||||
if (_logger.IsEnabled(LogLevel.Trace))
|
if (tasks.Count > 0 && _logger.IsEnabled(LogLevel.Trace))
|
||||||
{
|
{
|
||||||
string factoryName = x.GetType().FullName ?? x.GetType().Name;
|
string factoryName = x.GetType().FullName ?? x.GetType().Name;
|
||||||
if (factoryName.Contains('.', StringComparison.Ordinal))
|
if (factoryName.Contains('.', StringComparison.Ordinal))
|
||||||
|
Loading…
Reference in New Issue
Block a user