Skip to content

A HashiCorp-compatible hclog logger for .NET, designed to work seamlessly with Go hosts using go-plugin

Notifications You must be signed in to change notification settings

katasec/HCLog.Net

Repository files navigation

HCLog.Net

A HashiCorp-compatible hclog logger for .NET, designed to work seamlessly with Go hosts using go-plugin.

Features

  • Emits logs in strict hclog JSON format expected by Go plugins
  • Supports debug, info, warn, error levels
  • Writes to stderr by default (compatible with go-plugin behavior)
  • Minimal dependencies, .NET Standard 2.0 compatible

Usage

var logger = new HCLogger("plugin-core");
logger.Info("Starting plugin at {0}", DateTime.Now);

About

A HashiCorp-compatible hclog logger for .NET, designed to work seamlessly with Go hosts using go-plugin

Resources

Stars

Watchers

Forks

Packages

No packages published