Track SLE format for debug logging
Minimize LedgerEntrySet API
Reduce scope of functions