public void add_logging_target(final DeviceProxy deviceProxy, final String target)
	    throws DevFailed {
        // Get connection on administration device
        if (deviceProxy.getAdm_dev() == null) {
            import_admin_device(deviceProxy, "add_logging_target");
        }

        // Prepeare data

        final String[] str = new String[2];
        str[0] = get_name(deviceProxy);
        str[1] = target;
        final DeviceData argin = new DeviceData();
        argin.insert(str);
        // And send command
        deviceProxy.getAdm_dev().command_inout("AddLoggingTarget", argin);
    }
public void add_logging_target ( final DeviceProxy deviceProxy , final String target ) throws DevFailed { if ( deviceProxy . getAdm_dev ( ) == null ) { import_admin_device ( deviceProxy , "add_logging_target" ) ; } final String [ ] str = new String [ 2 ] ; str [ 0 ] = get_name ( deviceProxy ) ; str [ 1 ] = target ; final DeviceData argin = new DeviceData ( ) ; argin . insert ( str ) ; deviceProxy . getAdm_dev ( ) . command_inout ( "AddLoggingTarget" , argin ) ; }
==========================================================================