Skip to main content

warn_once

Function warn_once 

Source
pub fn warn_once(message: &str)
Expand description

Report a configuration problem once per distinct message.

A label collision persists until someone renames something, while the registry behind it is rebuilt every couple of seconds and on every CLI invocation. Logging each rebuild would fill the supervisor log with the same line; the user needs to read it once.