I am using Azure function v3 on .net core 3.x where ILogger<T> is created through dependency injection of respective class T through IServiceProvider like ILogger<T> _log = _log = serviceProvider.GetService<ILogger<T>>();
Other than _log.LogMetric() every other log messages(traces, information, error, exception etc) are getting pushed to Application Insight. I have checked traces section of transaction search as well as traces and custom metrics of logs.
Even host.json file logging configuration seems to be correct. So what I am doing wrong?