Lab::Moose::Instrument::Log - Role for Lab::Moose::Instrument connection logging.
version 3.660
use Lab::Moose 'instrument'; my $instr = instrument( type => '...', connection_type => '...', connection_options => {...}, # write into newly created logfile: log_file => '/tmp/instr.log', # alternative: write into filehandle: log_fh => $filehandle, );
Log all of the instrument's read, write, query, clear function calls into a logfile or an existing filehandle.
read, write, query, clear
This software is copyright (c) 2018 by the Lab::Measurement team; in detail:
Copyright 2016 Simon Reinhardt 2017 Andreas K. Huettel, Simon Reinhardt
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.