Class AbpSerilogTestBase
Inheritance
object
AbpSerilogTestBase
Implements
System.IDisposable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Serilog
Assembly: Volo.Abp.AspNetCore.Serilog.Tests.dll
Syntax
public class AbpSerilogTestBase : AbpAspNetCoreTestBase<Startup>, IDisposable
Constructors
AbpSerilogTestBase()
Declaration
public AbpSerilogTestBase()
Fields
CollectingSink
Declaration
protected readonly CollectingSink CollectingSink
Field Value
| Type | Description |
|---|---|
| CollectingSink |
Methods
CreateHostBuilder()
Declaration
protected override IHostBuilder CreateHostBuilder()
Returns
| Type | Description |
|---|---|
| Microsoft.Extensions.Hosting.IHostBuilder |
Overrides
Volo.Abp.AspNetCore.TestBase.AbpAspNetCoreIntegratedTestBase<Volo.Abp.AspNetCore.App.Startup>.CreateHostBuilder()
GetLogEvent(string)
Declaration
protected LogEvent GetLogEvent(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text |
Returns
| Type | Description |
|---|---|
| Serilog.Events.LogEvent |
Implements
System.IDisposable