Add feature to loglib: Logging to variables (no file, no stdout)