Supported Loggers

One governance profile. Any logger.

Cerbi governance is not limited to CerbiStream. Every integration below uses the same cerbi_governance.json profile format and connects to the same CerbiShield Service Bus queue. Only the wire-up syntax changes.

Install
dotnet add package Cerbi.Serilog.GovernanceAnalyzer

Wire-up (Program.cs)

Program.cs
Log.Logger = new LoggerConfiguration()
    .WithCerbiGovernance("cerbi_governance.json", "production")
    .WriteTo.Console()
    .CreateLogger();

Connect to CerbiShield — score shipping

Enable score shipping in SerilogGovernanceSettings to send governance scores to your CerbiShield queue.

Program.cs — with score shipping
.WithCerbiGovernance("cerbi_governance.json", "production", settings =>
{
    settings.ScoreShippingEnabled = true;
    settings.ScoreEndpoint = "<your-service-bus-connection-string>";
    settings.QueueName = "<your-queue-name>";
})

Field aliases

Map your existing field names to Cerbi's canonical names so governance rules apply automatically without renaming your log events.

cerbi_governance.json — fieldAliases
{
  "fieldAliases": {
    "user_id": "UserId",
    "card_num": "creditCard"
  }
}

Identity fields populated automatically

ServiceNameAppVersionInstanceIdDeploymentIdProfileNameAppName

Logger support matrix

All loggers share the same cerbi_governance.json profile format and connect to the same CerbiShield Service Bus queue. Only the per-ecosystem wire-up syntax differs.

CerbiStreamC# / .NET
CerbiStream
Score shipping supported
SerilogC# / .NET
Cerbi.Serilog.GovernanceAnalyzer
Score shipping supported
NLogC# / .NET
Cerbi.NLog.GovernanceAnalyzer
Score shipping supported
MELC# / .NET
Cerbi.MEL.Governance
Score shipping supported
Log4j2Java
io.cerbi:cerbi-log4j2-governance
Score shipping supported
LogbackJava
io.cerbi:cerbi-logback-governance
Score shipping supported

Ready to connect a logger?

Start with CerbiStream for new .NET projects, or drop in one of the framework integrations if you already have Serilog, NLog, or MEL in place.