{
    "mode": "perldoc",
    "parameter": "Log::Log4perl::Appender::Screen",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Log%3A%3ALog4perl%3A%3AAppender%3A%3AScreen/json",
    "generated": "2026-07-05T09:34:08Z",
    "synopsis": "use Log::Log4perl::Appender::Screen;\nmy $app = Log::Log4perl::Appender::Screen->new(\nstderr    => 0,\nutf8      => 1,\n);\n$file->log(message => \"Log me\\n\");",
    "sections": {
        "NAME": {
            "content": "Log::Log4perl::Appender::Screen - Log to STDOUT/STDERR\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Log::Log4perl::Appender::Screen;\n\nmy $app = Log::Log4perl::Appender::Screen->new(\nstderr    => 0,\nutf8      => 1,\n);\n\n$file->log(message => \"Log me\\n\");\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This is a simple appender for writing to STDOUT or STDERR.\n\nThe constructor \"new()\" take an optional parameter \"stderr\", if set to a true value, the\nappender will log to STDERR. The default setting for \"stderr\" is 1, so messages will be logged\nto STDERR by default.\n\nIf \"stderr\" is set to a false value, it will log to STDOUT (or, more accurately, whichever file\nhandle is selected via \"select()\", STDOUT by default).\n\nDesign and implementation of this module has been greatly inspired by Dave Rolsky's\n\"Log::Dispatch\" appender framework.\n\nTo enable printing wide utf8 characters, set the utf8 option to a true value:\n\nmy $app = Log::Log4perl::Appender::Screen->new(\nstderr    => 1,\nutf8      => 1,\n);\n\nThis will issue the necessary binmode command to the selected output channel (stderr/stdout).\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": []
        }
    },
    "summary": "Log::Log4perl::Appender::Screen - Log to STDOUT/STDERR",
    "flags": [],
    "examples": [],
    "see_also": []
}