1. Python

import logging
def _functionA(results):
    results = "this is a just a string"
    logger = logging.getLogger(__name__)
    logger.info("_functionA=%s", results)
    return True

2. PHP

$variable = array(1,2,3,4,5,6);
print_r($variable);
var_dump($variable);

3. Javascripts

results = [object Object]
t = JSON.stringify(results);
console.log("results="+t);
Advertisements