<?php

/**
 * LICENSE: This Software is the property of Lifestyle Webconsulting GmbH (Aschaffenburg, Germany)
 * and is protected by copyright law - it is NOT Freeware.
 *
 * Any unauthorized use of this software without a valid license
 * is a violation of the license agreement and will be prosecuted by
 * civil and criminal law.
 *
 * @copyright  2018 Lifestyle Webconsulting GmbH
 * @version    $Id:$
 * @link       http://www.life-style.de
 */

namespace Sso\ApiBundle\Api\Logger;

use Monolog\Formatter\LineFormatter;

/**
 * Class Formatter
 * @package Sso\ApiBundle\Api\Logger
 */
class Formatter extends LineFormatter
{

    const WS_FORMAT = "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n";

    /**
     * Formatter constructor.
     * @param null $format
     * @param null $dateFormat
     * @param bool $allowInLineBreaks
     */
    public function __construct($format = null, $dateFormat = null, $allowInLineBreaks = false)
    {
        parent::__construct($format, $dateFormat, $allowInLineBreaks);
    }
}
