{
    "content": [
        {
            "type": "text",
            "text": "# Net::Server::Log::Log::Log4perl (perldoc)\n\n## NAME\n\nNet::Server::Log::Log::Log4perl - log via Log4perl\n\n## SYNOPSIS\n\nuse base qw(Net::Server::PreFork);\nPACKAGE->run(\nlogfile => 'Log::Log4perl',\nlog4perlconf => '/path/to/my/log4perl.conf',\nlog4perllogger => 'myapp',\n);\n\n## DESCRIPTION\n\nThis module provides Log::Log4perl style logging to the Net::Server system.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONFIGURATION**\n- **METHODS**\n- **LICENCE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::Server::Log::Log::Log4perl",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::Server::Log::Log::Log4perl - log via Log4perl",
        "synopsis": "use base qw(Net::Server::PreFork);\nPACKAGE->run(\nlogfile => 'Log::Log4perl',\nlog4perlconf => '/path/to/my/log4perl.conf',\nlog4perllogger => 'myapp',\n);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "CONFIGURATION",
                "lines": 33,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "LICENCE",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::Server::Log::Log::Log4perl - log via Log4perl\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use base qw(Net::Server::PreFork);\n\nPACKAGE->run(\nlogfile => 'Log::Log4perl',\nlog4perlconf => '/path/to/my/log4perl.conf',\nlog4perllogger => 'myapp',\n);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module provides Log::Log4perl style logging to the Net::Server system.\n",
                "subsections": []
            },
            "CONFIGURATION": {
                "content": "logfile\nTo begin using Log::Log4perl logging, simply set the Net::Server logfile configuration\nparameter to \"Log::Log4perl\".\n\nIf the magic name \"Log::Log4perl\" is used, all logging will be directed to the Log4perl\nsystem. If used, the \"log4perlconf\", \"log4perlpoll\", \"log4perllogger\" may also be\ndefined.\n\nlog4perlconf\nOnly available if \"logfile\" is equal to \"Log::Log4perl\". This is the filename of the\nlog4perl configuration file - see Log::Log4perl. If this is not set, will die on startup. If\nthe file is not readable, will die.\n\nlog4perlpoll\nIf set to a value, will initialize with Log::Log4perl::initandwatch with this polling\nvalue. This can also be the string \"HUP\" to re-read the log4perlconf when a HUP signal is\nreceived. If set to 0, no polling is done. See Log::Log4perl for more details.\n\nlog4perllogger\nThis is the facility name. Defaults to \"Net::Server\".\n\nDEFAULT ARGUMENTS FOR Net::Server\nThe following arguments are available in the default \"Net::Server\" or \"Net::Server::Single\"\nmodules. (Other personalities may use additional parameters and may optionally not use\nparameters from the base class.)\n\nKey               Value                    Default\n\n## log4perl parameters (if logfile eq Log::Log4perl)\nlog4perlconf     \"filename\"               will die if not set\nlog4perlpoll     number or HUP            0 (no polling)\nlog4perllogger   \"name\"                   \"Net::Server\"\n",
                "subsections": []
            },
            "METHODS": {
                "content": "\"initialize\"\nThis method is called during the initilizelogging method of Net::Server. It returns a\nsingle code ref that will be stored under the logfunction property of the Net::Server\nobject. That code ref takes loglevel and message as arguments and calls the initialized\nlog4perl system.\n",
                "subsections": []
            },
            "LICENCE": {
                "content": "Distributed under the same terms as Net::Server\n",
                "subsections": []
            }
        }
    }
}