perl 使用Log::Log4perl輸出日誌

code example: use Log::Log4perl qw(:easy); Log::Log4perl->easy_init($DEBUG); //定義輸出級別 Log::Log4perl::init("/path/log4perl.conf"); //定義配置文件 my $logger = Log::Log4perl->get_logger("eventname"); //定義時
相關文章
相關標籤/搜索