{
    "content": [
        {
            "type": "text",
            "text": "# Log::Any::Adapter::File (perldoc)\n\n## NAME\n\nLog::Any::Adapter::File - Simple adapter for logging to files\n\n## SYNOPSIS\n\nuse Log::Any::Adapter ('File', '/path/to/file.log');\n# or\nuse Log::Any::Adapter;\n...\nLog::Any::Adapter->set('File', '/path/to/file.log');\n# with minimum level 'warn'\nuse Log::Any::Adapter (\n'File', '/path/to/file.log', loglevel => 'warn',\n);\n\n## DESCRIPTION\n\nThis simple built-in Log::Any adapter logs each message to the specified file, with a datestamp\nprefix and newline appended. The file is opened for append with autoflush on. If \"flock\" is\navailable, the handle will be locked when writing.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **AUTHORS**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Log::Any::Adapter::File",
        "section": "",
        "mode": "perldoc",
        "summary": "Log::Any::Adapter::File - Simple adapter for logging to files",
        "synopsis": "use Log::Any::Adapter ('File', '/path/to/file.log');\n# or\nuse Log::Any::Adapter;\n...\nLog::Any::Adapter->set('File', '/path/to/file.log');\n# with minimum level 'warn'\nuse Log::Any::Adapter (\n'File', '/path/to/file.log', loglevel => 'warn',\n);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Log::Any::Adapter::File - Simple adapter for logging to files\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 1.710\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Log::Any::Adapter ('File', '/path/to/file.log');\n\n# or\n\nuse Log::Any::Adapter;\n...\nLog::Any::Adapter->set('File', '/path/to/file.log');\n\n# with minimum level 'warn'\n\nuse Log::Any::Adapter (\n'File', '/path/to/file.log', loglevel => 'warn',\n);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This simple built-in Log::Any adapter logs each message to the specified file, with a datestamp\nprefix and newline appended. The file is opened for append with autoflush on. If \"flock\" is\navailable, the handle will be locked when writing.\n\nThe \"loglevel\" attribute may be set to define a minimum level to log.\n\nThe \"binmode\" attribute may be set to define a PerlIO layer string to use when opening the file.\nThe default is \":utf8\".\n\nCategory is ignored.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Log::Any, Log::Any::Adapter\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "*   Jonathan Swartz <swartz@pobox.com>\n\n*   David Golden <dagolden@cpan.org>\n\n*   Doug Bell <preaction@cpan.org>\n\n*   Daniel Pittman <daniel@rimspace.net>\n\n*   Stephen Thirlwall <sdt@cpan.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is copyright (c) 2017 by Jonathan Swartz, David Golden, and Doug Bell.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
                "subsections": []
            }
        }
    }
}