{
    "mode": "perldoc",
    "parameter": "Log::Any::Adapter::Multiplex",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Log%3A%3AAny%3A%3AAdapter%3A%3AMultiplex/json",
    "generated": "2026-07-05T09:39:55Z",
    "synopsis": "Log::Any::Adapter->set(\n'Multiplex',\nadapters => {\n'Stdout' => [],\n'Stderr' => [ loglevel => 'warn' ],\n...\n$adapter => \\@adapterargs\n},\n);",
    "sections": {
        "NAME": {
            "content": "Log::Any::Adapter::Multiplex - Adapter to use allow structured logging across other adapters\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 1.710\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "Log::Any::Adapter->set(\n'Multiplex',\nadapters => {\n'Stdout' => [],\n'Stderr' => [ loglevel => 'warn' ],\n...\n$adapter => \\@adapterargs\n},\n);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This built-in Log::Any adapter provides a simple means of routing logs to multiple other\nLog::Any::Adapters.\n\nAdapters receiving messages from this adapter can behave just like they are the only recipient\nof the log message. That means they can, for example, use \"Structured logging\" in\nLog::Any::Adapter::Development (or not).\n\n\"adapters\" is a hashref whose keys should be adapters, and whose values are the arguments to\npass those adapters on initialization.\n\nNote that this differs from other loggers like Log::Dispatch, which will only provide its output\nmodules a single string $message, and not the full \"Log context data\" in Log::Any.\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": []
        }
    },
    "summary": "Log::Any::Adapter::Multiplex - Adapter to use allow structured logging across other adapters",
    "flags": [],
    "examples": [],
    "see_also": []
}