utilize static function variables in Common::log_message() to "cache" log threshold and Log library instance to reduce function calls