{
    "content": [
        {
            "type": "text",
            "text": "# Log::Log4perl::Resurrector (perldoc)\n\n## NAME\n\nLog::Log4perl::Resurrector - Dark Magic to resurrect hidden L4p statements\n\n## DESCRIPTION\n\nLoading \"use Log::Log4perl::Resurrector\" causes subsequently loaded modules to have their hidden\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **LICENSE**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Log::Log4perl::Resurrector",
        "section": "",
        "mode": "perldoc",
        "summary": "Log::Log4perl::Resurrector - Dark Magic to resurrect hidden L4p statements",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 52,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 17,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Log::Log4perl::Resurrector - Dark Magic to resurrect hidden L4p statements\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Loading \"use Log::Log4perl::Resurrector\" causes subsequently loaded modules to have their hidden\n\n###l4p use Log::Log4perl qw(:easy);\n\n###l4p DEBUG(...)\n###l4p INFO(...)\n...\n\nstatements uncommented and therefore 'resurrected', i.e. activated.\n\nThis allows for a module \"Foobar.pm\" to be written with Log4perl statements commented out and\nrunning at full speed in normal mode. When loaded via\n\nuse Foobar;\n\nall hidden Log4perl statements will be ignored.\n\nHowever, if a script loads the module \"Foobar\" *after* loading \"Log::Log4perl::Resurrector\", as\nin\n\nuse Log::Log4perl::Resurrector;\nuse Foobar;\n\nthen \"Log::Log4perl::Resurrector\" will have put a source filter in place that will extract all\nhidden Log4perl statements in \"Foobar\" before \"Foobar\" actually gets loaded.\n\nTherefore, \"Foobar\" will then behave as if the\n\n###l4p use Log::Log4perl qw(:easy);\n\n###l4p DEBUG(...)\n###l4p INFO(...)\n...\n\nstatements were actually written like\n\nuse Log::Log4perl qw(:easy);\n\nDEBUG(...)\nINFO(...)\n...\n\nand the module \"Foobar\" will indeed be Log4perl-enabled. Whether any activated Log4perl\nstatement will actually trigger log messages, is up to the Log4perl configuration, of course.\n\nThere's a startup cost to using \"Log::Log4perl::Resurrector\" (all subsequently loaded modules\nare examined) but once the compilation phase has finished, the perl program will run at full\nspeed.\n\nSome of the techniques used in this module have been stolen from the \"Acme::Incorporated\" CPAN\nmodule, written by *chromatic*. Long live CPAN!\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "Copyright 2002-2013 by Mike Schilli <m@perlmeister.com> and Kevin Goess <cpan@goess.org>.\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Please contribute patches to the project on Github:\n\nhttp://github.com/mschilli/log4perl\n\nSend bug reports or requests for enhancements to the authors via our\n\nMAILING LIST (questions, bug reports, suggestions/patches): log4perl-devel@lists.sourceforge.net\n\nAuthors (please contact them via the list above, not directly): Mike Schilli\n<m@perlmeister.com>, Kevin Goess <cpan@goess.org>\n\nContributors (in alphabetical order): Ateeq Altaf, Cory Bennett, Jens Berthold, Jeremy Bopp,\nHutton Davidson, Chris R. Donnelly, Matisse Enzer, Hugh Esco, Anthony Foiani, James FitzGibbon,\nCarl Franks, Dennis Gregorovic, Andy Grundman, Paul Harrington, Alexander Hartmaier David Hull,\nRobert Jacobson, Jason Kohles, Jeff Macdonald, Markus Peter, Brett Rann, Peter Rabbitson, Erik\nSelberg, Aaron Straup Cope, Lars Thegler, David Viner, Mac Yang.\n",
                "subsections": []
            }
        }
    }
}