MyLab.LogDsl by Andrey O.

<PackageReference Include="MyLab.LogDsl" Version="2.0.0" />

 DslLoggerExtensions

public static class DslLoggerExtensions
Extension for DslLogger
public static DslLogEntityBuilder Act(this DslLogger logger, string msg)

Creates act log entity

public static DslLogEntityBuilder Act(this DslLogger logger, int eventId)

Creates act log entity

public static DslLogEntityBuilder Debug(this DslLogger logger, string msg)

Creates act log entity

public static DslLogEntityBuilder Debug(this DslLogger logger, int eventId)

Creates act log entity

public static DslLogEntityBuilder Error(this DslLogger logger, Exception exception)

Creates error log entity

public static DslLogEntityBuilder Error(this DslLogger logger, string msg, Exception exception = null)

Creates error log entity

public static DslLogEntityBuilder Error(this DslLogger logger, int eventId, Exception exception = null)

Creates error log entity