# Use Log::Report when already loaded, otherwise Log::Report::Minimal package My::Package; use Log::Report::Optional 'my-domain';
This module will allow libraries (helper modules) to have a dependency
to a small module instead of the full Log-Report distribution. The full
power of Log::Report
is only released when the main program uses that
module. In that case, the module using the 'Optional' will also use the
full Log::Report, otherwise the dressed-down Log::Report::Minimal
version.
For the full documentation:
The latter provides the same functions from the former, but is the simpelest possible way.