LogMetadata asDisabled ( ) { return this . enabled ? new LogMetadata ( this . epoch , false , this . ledgers , this . truncationAddress , this . updateVersion . get ( ) ) : this ; }
Returns a LogMetadata class with the exact contents of this instance but the enabled flag set to false . No changes are performed on this instance .