Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogDispatcher ¶
type LogDispatcher struct {
// contains filtered or unexported fields
}
LogDispatcher manages the async pipeline and exporter registry.
func NewLogDispatcher ¶
func NewLogDispatcher(serviceName string, bufferSize int, walPath string) (*LogDispatcher, error)
NewLogDispatcher initializes the pub/sub logging system.
func (*LogDispatcher) Audit ¶
func (ld *LogDispatcher) Audit(actor, action, message string)
func (*LogDispatcher) Close ¶
func (ld *LogDispatcher) Close()
func (*LogDispatcher) Debug ¶
func (ld *LogDispatcher) Debug(message string)
func (*LogDispatcher) Error ¶
func (ld *LogDispatcher) Error(message string)
func (*LogDispatcher) Info ¶
func (ld *LogDispatcher) Info(message string)
func (*LogDispatcher) RegisterExporter ¶
func (ld *LogDispatcher) RegisterExporter(e Exporter)
RegisterExporter adds a new destination (e.g., SIEM, RPC) to the dispatcher.
Click to show internal directories.
Click to hide internal directories.