{
    "content": [
        {
            "type": "text",
            "text": "# Log::Dispatch::Screen (perldoc)\n\n## NAME\n\nLog::Dispatch::Screen - Object for logging to the screen\n\n## SYNOPSIS\n\nuse Log::Dispatch;\nmy $log = Log::Dispatch->new(\noutputs => [\n[\n'Screen',\nminlevel => 'debug',\nstderr    => 1,\nnewline   => 1\n]\n],\n);\n$log->alert(\"I'm searching the city for sci-fi wasabi\");\n\n## DESCRIPTION\n\nThis module provides an object for logging to the screen (really \"STDOUT\" or \"STDERR\").\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONSTRUCTOR**\n- **SUPPORT**\n- **SOURCE**\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Log::Dispatch::Screen",
        "section": "",
        "mode": "perldoc",
        "summary": "Log::Dispatch::Screen - Object for logging to the screen",
        "synopsis": "use Log::Dispatch;\nmy $log = Log::Dispatch->new(\noutputs => [\n[\n'Screen',\nminlevel => 'debug',\nstderr    => 1,\nnewline   => 1\n]\n],\n);\n$log->alert(\"I'm searching the city for sci-fi wasabi\");",
        "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": 15,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "CONSTRUCTOR",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "SUPPORT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SOURCE",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Log::Dispatch::Screen - Object for logging to the screen\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 2.70\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Log::Dispatch;\n\nmy $log = Log::Dispatch->new(\noutputs => [\n[\n'Screen',\nminlevel => 'debug',\nstderr    => 1,\nnewline   => 1\n]\n],\n);\n\n$log->alert(\"I'm searching the city for sci-fi wasabi\");\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module provides an object for logging to the screen (really \"STDOUT\" or \"STDERR\").\n\nNote that a newline will *not* be added automatically at the end of a message by default. To do\nthat, pass \"newline => 1\".\n\nThe handle will be autoflushed, but this module opens it's own handle to fd 1 or 2 instead of\nusing the global \"STDOUT\" or \"STDERR\".\n",
                "subsections": []
            },
            "CONSTRUCTOR": {
                "content": "The constructor takes the following parameters in addition to the standard parameters documented\nin Log::Dispatch::Output:\n\n*   stderr (0 or 1)\n\nIndicates whether or not logging information should go to \"STDERR\". If false, logging\ninformation is printed to \"STDOUT\" instead.\n\nThis defaults to true.\n\n*   utf8 (0 or 1)\n\nIf this is true, then the output uses \"binmode\" to apply the \":encoding(UTF-8)\" layer to the\nrelevant handle for output. This will not affect \"STDOUT\" or \"STDERR\" in other parts of your\ncode.\n\nThis defaults to false.\n",
                "subsections": []
            },
            "SUPPORT": {
                "content": "Bugs may be submitted at <https://github.com/houseabsolute/Log-Dispatch/issues>.\n\nI am also usually active on IRC as 'autarch' on \"irc://irc.perl.org\".\n",
                "subsections": []
            },
            "SOURCE": {
                "content": "The source code repository for Log-Dispatch can be found at\n<https://github.com/houseabsolute/Log-Dispatch>.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Dave Rolsky <autarch@urth.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is Copyright (c) 2020 by Dave Rolsky.\n\nThis is free software, licensed under:\n\nThe Artistic License 2.0 (GPL Compatible)\n\nThe full text of the license can be found in the LICENSE file included with this distribution.\n",
                "subsections": []
            }
        }
    }
}