pub fn register(name: &str) -> Result<(), Error>Expand description
Attempt to add the event source registry.
Any event source sould be registried first.
You need to call register when installing the program,
and call deregister when uninstalling the program.