{
    "mode": "perldoc",
    "parameter": "Log::Log4perl::Appender::String",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Log%3A%3ALog4perl%3A%3AAppender%3A%3AString/json",
    "generated": "2026-06-10T13:45:06Z",
    "synopsis": "use Log::Log4perl::Appender::String;\nmy $appender = Log::Log4perl::Appender::String->new(\nname      => 'my string appender',\n);\n# Append to the string\n$appender->log(\nmessage => \"I'm searching the city for sci-fi wasabi\\n\"\n);\n# Retrieve the result\nmy $result = $appender->string();\n# Reset the buffer to the empty string\n$appender->string(\"\");",
    "sections": {
        "NAME": {
            "content": "Log::Log4perl::Appender::String - Append to a string\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Log::Log4perl::Appender::String;\n\nmy $appender = Log::Log4perl::Appender::String->new(\nname      => 'my string appender',\n);\n\n# Append to the string\n$appender->log(\nmessage => \"I'm searching the city for sci-fi wasabi\\n\"\n);\n\n# Retrieve the result\nmy $result = $appender->string();\n\n# Reset the buffer to the empty string\n$appender->string(\"\");\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This is a simple appender used internally by \"Log::Log4perl\". It appends messages to a scalar\ninstance variable.\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::String - Append to a string",
    "flags": [],
    "examples": [],
    "see_also": []
}