SYNOPSIS

     use Log::Any::IfLOG '$log';

DESCRIPTION

    This module will load Log::Any only when LOG environment variable is
    true. Otherwise, the module is not loaded and if user imports $log, a
    dumb object will be returned instead that will accept any method but
    return false.

    This is a quick-hack solution to avoid the cost of loading Log::Any
    under "normal condition" (when LOG is not set to true).

ENVIRONMENT

 LOG => bool

    If set to true, will load Log::Any as usual. Otherwise, won't load
    Log::Any and will return a dumb object in $log instead.

SEE ALSO

    Log::Any

    http://github.com/dagolden/Log-Any/issues/24

