Skip to main content

init

Function init 

Source
pub fn init(config: AuditConfig)
Expand description

Register the auditor with adminx-core. Call after storage is set (and, on a SQL backend, after running migrate_sql).

Set-once, matching set_storage / set_authorizer: a second call is ignored with a warning.