/*
 * SPDX-FileCopyrightText: 2000-2002 Copyright LifeLine Networks BV (www.lifeline.nl)
 * SPDX-FileCopyrightText: 2000-2002 Copyright Bastiaan Bakker
 * SPDX-FileCopyrightText: 2004 Copyright contributors to the cppTango project
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */

#ifndef TANGO_COMMON_LOG4TANGO_XMLLAYOUT_H
#define TANGO_COMMON_LOG4TANGO_XMLLAYOUT_H

#include <tango/common/log4tango/Layout.h>
#include <tango/common/log4tango/Portability.h>

namespace log4tango
{

/**
 * XMLLayout is a simple fixed format Layout implementation.
 **/
class XMLLayout : public Layout
{
  public:
    /**
     * Ctor.
     **/
    XMLLayout();

    /**
     * Dtor.
     **/
    ~XMLLayout() override;

    /**
     * Formats the LoggingEvent in XML
     **/
    std::string format(const LoggingEvent &event) override;
};

} // namespace log4tango

#endif // TANGO_COMMON_LOG4TANGO_XMLLAYOUT_H
