| 1 | package MooseX::Types::LogAny; | ||
| 2 | 2 | ▶ | use 5.008; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | our $VERSION = '0.001003'; # VERSION | |
| 7 | |||
| 8 | 2 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 2 | warnings::warnif('deprecated', | |
| 10 | 'see Log::Any documentation for how to use with Moose'); | ||
| 11 | } | ||
| 12 | |||
| 13 | 2 | ▶ | use MooseX::Types -declare => [qw( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | LogAny | ||
| 15 | LogAnyBase | ||
| 16 | LogAnyNull | ||
| 17 | LogAnyProxy | ||
| 18 | 2 | )]; | |
| 19 | |||
| 20 | 2 | class_type LogAnyBase, { class => 'Log::Any::Adapter::Base' }; | |
| 21 | 2 | class_type LogAnyNull, { class => 'Log::Any::Adapter::Null' }; | |
| 22 | 2 | class_type LogAnyProxy, { class => 'Log::Any::Proxy' }; | |
| 23 | 2 | subtype LogAny, as LogAnyBase|LogAnyNull|LogAnyProxy; | |
| 24 | |||
| 25 | 2 | 1; | |
| 26 | |||
| 27 | # ABSTRACT: DEPRECATED MooseX::Types for Log::Any | ||
| 28 | |||
| 29 | __END__ | ||