Kudu.Core.Deployment.DeploymentManager.GetLogEntryDetails C# (CSharp) Method

GetLogEntryDetails() public method

public GetLogEntryDetails ( string id, string entryId ) : IEnumerable
id string
entryId string
return IEnumerable
        public IEnumerable<LogEntry> GetLogEntryDetails(string id, string entryId)
        {
            ITracer tracer = _traceFactory.GetTracer();
            using (tracer.Step($"DeploymentManager.GetLogEntryDetails(id:{id}, entryId:{entryId}"))
            {
                string path = GetLogPath(id, ensureDirectory: false);

                if (!FileSystemHelpers.FileExists(path))
                {
                    throw new FileNotFoundException(String.Format(CultureInfo.CurrentCulture, Resources.Error_NoLogFound, id));
                }

                VerifyDeployment(id, IsDeploying);

                var logger = GetLoggerForFile(path);

                return logger.GetLogEntryDetails(entryId).ToList();
            }
        }