AsyncHelper.Extension.LogAsync C# (CSharp) Method

LogAsync() public static method

public static LogAsync ( this extended, ILog log ) : System.Threading.Tasks.Task
extended this
log ILog
return System.Threading.Tasks.Task
        public static async Task LogAsync(this ILogger<ILog> extended, ILog log)
        {
            Console.WriteLine("Logging strated");
            await Task.Factory.StartNew(() => extended.Log(log));
            Console.WriteLine("Logging finished");
        }
    }
Extension