MCPcopy
hub / github.com/apache/casbin / onLogAfterEventInSavePolicy

Method onLogAfterEventInSavePolicy

util_log.go:92–94  ·  view source on GitHub ↗

onLogAfterEventInSavePolicy finalizes logging for SavePolicy operation.

(logEntry *log.LogEntry)

Source from the content-addressed store, hash-verified

90
91// onLogAfterEventInSavePolicy finalizes logging for SavePolicy operation.
92func (e *Enforcer) onLogAfterEventInSavePolicy(logEntry *log.LogEntry) {
93 e.onLogAfterEvent(logEntry)
94}
95
96// createEnforceLogEntry creates a log entry for enforce events with subject, object, action, and domain extracted from rvals.
97func (e *Enforcer) createEnforceLogEntry(rvals []interface{}) *log.LogEntry {

Callers 1

SavePolicyMethod · 0.95

Calls 1

onLogAfterEventMethod · 0.95

Tested by

no test coverage detected