cuquantum.custatevec.logger_set_callback_data¶
- cuquantum.custatevec.logger_set_callback_data(callback, *args, **kwargs)[source]¶
Set the logger callback along with arguments.
- Parameters
callback –
A Python callable with the following signature (no return):
callback(log_level, func_name, message, *args, **kwargs)
where
log_level(int),func_name(str), andmessage(str) are provided by the logger API.
See also