base.go
func (b *Base) ClearLoggers() error {
	for _, logger := range b.loggers {
		err := logger.ShutdownLogger()
		if err != nil {
			return err
		}
	}

	b.loggers = make([]Logger, 0)
	b.hookPreQueue = make([]HookPreQueue, 0)

	return nil
}
func (b *Base) ClearLoggers() error {
	for _, logger := range b.loggers {
		err := logger.ShutdownLogger()
		if err != nil {
			return err
		}
	}

	b.loggers = make([]Logger, 0)
	b.hookPreQueue = make([]HookPreQueue, 0)

	return nil
}
/*
ClearLoggers will shut down and remove any loggers added to the Base. If an
error occurs while shutting down one of the loggers, the list will not be
cleared but any loggers that have already been shut down before the error
occurred will remain shut down.
*/