* Extract dashboard contributors into modules * Install dashboard widgets by default * Enable dashboard features in modular server config
14 lines
458 B
C#
14 lines
458 B
C#
using Elsa.Dashboard.Abstractions.Extensions;
|
|
using Elsa.Diagnostics.StructuredLogs.Dashboard;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Elsa.Diagnostics.StructuredLogs.Dashboard.Extensions;
|
|
|
|
public static class ServiceCollectionExtensions
|
|
{
|
|
public static IServiceCollection AddStructuredLogsDashboard(this IServiceCollection services)
|
|
{
|
|
return services.AddDashboardContributor<StructuredLogsDashboardContributor>();
|
|
}
|
|
}
|