log

The logging layer of your application, defaults to a Mojo::Log object.

# Log debug message
$app->log->debug('It works!');

ua

my $ua = $app->ua;
$app = $app->ua(Mojo::UserAgent->new);

A full featured HTTP user agent for use in your applications, defaults to a Mojo::UserAgent object. Note that this user agent should not be used in plugins, since non-blocking requests that are already in progress will interfere with new blocking ones.