public enum LoggingSystem
LoggingSystem is a global facility where the default logging backend implementation (
LogHandler) can be
LoggingSystem is set up just once in a given program to set up the desired logging backend
bootstrapis a one-time configuration function which globally selects the desired logging backend implementation.
bootstrapcan be called at maximum once in any given program, calling it more than once will lead to undefined behaviour, most likely a crash.
public static func bootstrap(_ factory: @escaping (String) -> LogHandler)