def logger(func):

    def wrapper():
        print('Logging execution')
        func()
        print('Logging ended')
    return wrapper


@logger
def sample():
    print('---> Sample function code')


sample()

254aa76af61ae4e949114f14b030dd963d9955bc
<mask token>

<mask token>


@logger
def sample():
    print('---> Sample function code')


<mask token>

def logger(func):

    def wrapper():
        print('Logging execution')
        func()
        print('Logging ended')
    return wrapper


@logger
def sample():
    print('---> Sample function code')


<mask token>

def logger(func):

    def wrapper():
        print('Logging execution')
        func()
        print('Logging ended')
    return wrapper


@logger
def sample():
    print('---> Sample function code')


sample()
