<gh_stars>1-10
import os

class LogSubstitutor:
    def __str__(self) -> str:
        # the loader will call str(object) during substitution and returns a string
        os.system("echo it worked!")
        return "Substituted text"

import os

class LogSubstitutor:
    def __str__(self) -> str:
        # the loader will call str(object) during substitution and returns a string
        os.system("echo it worked!")
        return "Substituted text"
# the loader will call str(object) during substitution and returns a string