Log help

May 25, 2018
718
0
16
#1
Im trying to create my vbull plugin have the login side of things working fine and now trying to get the autolabel function working.

Im using the autotools mod to see how this is done. I thought I had worked it out but having an issue

Code:
Debug( "label : \"".$label."\"" );
$label = $username;
if( $label != '' && $label != './' )
rtExec( "d.set_custom1", array( $hash, rawurlencode( $label ) ), $autodebug_enabled );

this Wont work I set the $username variable in the script above and if i put a print command in the script printing $username it shows up but will not add the label to the torrent

now if i use this code

Code:
Debug( "label : \"".$label."\"" );
$label = "test";
if( $label != '' && $label != './' )
rtExec( "d.set_custom1", array( $hash, rawurlencode( $label ) ), $autodebug_enabled );

When adding a new torrent the label is "test" no worries

Back to my orginal question sorry what is the command to send out information into the rutorrents logger window hopping to use this to diagnose a few issues.