fixed logging_log to be able to take variable length args.
add test file.
Merge feature/logging.