Help for this page

Select Code to Download


  1. or download this
    use Moo;
    use Log::Any;
    ...
        );
    # and below
    $self->log->debug("bla");
    
  2. or download this
     has 'log' => (
            is => 'ro',
    ...
        );
      #and below
    $self->log->debug("message");
    
  3. or download this
    use Log::Any::Adapter( 'File', './log.txt' );