IPC::Ru...ofLogger(3)

okay bestie, welcome to the IPC::Ru...ofLogger(3) page from the User Contributed Perl Documentation crew πŸ¦‹βœ¨

πŸ’– NAME πŸ’–

IPC::Run3::ProfLogger β€” write profiling data to a log file. that's the whole assignment, no cap. πŸ’…

✨ SYNOPSIS ✨

here's the code, literally:

use IPC::Run3::ProfLogger;

my $logger = IPC::Run3::ProfLogger->new;  ## write to "run3.out"
my $logger = IPC::Run3::ProfLogger->new( Destination => $fn );

$logger->app_call( \@cmd, $time );

$logger->run_exit( \@cmd1, @times1 );
$logger->run_exit( \@cmd1, @times1 );

$logger->app_exit( $time );

πŸ¦‹ DESCRIPTION πŸ¦‹

this one is used by IPC::Run3 to write a profiling log file. it does not generate reports or maintain statistics β€” nope, it's meant to have minimal overhead, periodt. ✨

its API is compatible with a tiny subset of the other IPC::Run profiling classes. iykyk. 🫢

πŸŽ€ METHODS πŸŽ€

these are the method headings, bestie β€” signatures stay exactly as the page says:

"IPC::Run3::ProfLogger->new( ... )"

the constructor πŸ’… β€” from the synopsis, no args writes to "run3.out", or you can pass Destination => $fn.

"$logger->run_exit( ... )"

run-exit moment, signature exactly this. 🌸

"$logger->app_exit( $arg )"

app-exit moment, with $arg right there. πŸŽ€

"$logger->app_call( $t, @args)"

app-call moment, and yes the signature has $t and @args exactly like that. πŸ’œ

πŸ’€ LIMITATIONS πŸ’€

bestie… the original leaves this section literally empty. no limitations listed, periodt. πŸ’€

Copyright 2003, R. Barrie Slaymaker, Jr., All Rights Reserved

🌈 LICENSE 🌈

You may use this module under the terms of the BSD, Artistic, or GPL licenses, any version.

🫢 AUTHOR 🫢

Barrie Slaymaker <barries@slaysys.com>

that's the whole manual, bestie 🫢 β€” source/version is perl v5.42.0, dated 2024-03-08, and it's the IPC::Ru...ofLogger(3) page. bye πŸ’…

πŸ“¦ where this page comes from