Adds in Composition Extension Methods to allow Setting the LogViewer without having to know the composition.RegisterUnique syntax
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Umbraco.Core.Logging.Viewer
|
||||
{
|
||||
public void Compose(Composition composition)
|
||||
{
|
||||
composition.RegisterUnique<ILogViewer>(_ => new JsonLogViewer());
|
||||
composition.SetLogViewer(_ => new JsonLogViewer());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user