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