Copy of loggerglue llibrary