NAME
Mojo::Log::Role::Formattable - Add logging methods with an "f" suffix to Mojo::Log
SYNOPSIS
use Mojo::Log ();
my $log = Mojo::Log->new->with_roles( '+Formattable' );
$log->errorf( 'an error occurred: %s', $@ );
DESCRIPTION
This role adds "f" suffixed logging methods to the consuming class Mojo::Log. Each method renders log messages like sprintf.
SEE ALSO
AUTHOR
Sven Willenbuecher <sven.willenbuecher@gmx.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Sven Willenbuecher.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.