How to printout uri and myself?

Dims
2010-10-16
2013-05-09
  • Dims
    Dims
    2010-10-16

    I want to xlog uri and myself variables, how to do this?

     
  • Dims
    Dims
    2010-10-16

    Here are some ways failed, separated with blank lines:
        
            #xlog("L_NOTICE", "DIMS: uri (" + $uri + ") == myself (" + $myself + " block…");

            #xlog("L_NOTICE", "DIMS: uri (" + uri + ") == myself (" + myself + " block…");

            $var(myuri) = uri;
            $var(mymyself) = myself;
            xlog("L_NOTICE", "DIMS: uri ($var(myuri)) == myself ($var(mymyself))  block…");

            #xlog("L_NOTICE", "DIMS: uri ($uri) == myself ($myself)  block…");

            #xlog("L_NOTICE", "DIMS: uri ($var(uri)) == myself ($var(myself))  block…");

            #$avp(myuri) = uri;
            #$avp(mymyself) = myself;
            #xlog("L_NOTICE", "DIMS: uri ($vap(myuri)) == myself ($avp(mymyself))  block…");