PHP Classes

File: config.xml

Recommend this page to a friend!
  Classes of Victor Henrique Pereira  >  DB Manager Logger  >  config.xml  >  Download  
File: config.xml
Role: Auxiliary data
Content type: text/plain
Description: Config for the logger
Class: DB Manager Logger
Execute and log MySQL queries using PDO
Author: By
Last change: update namespaces
Date: 7 years ago
Size: 1,184 bytes


Class file image Download
<configuration xmlns="">
    <renderer renderedClass="SRC\Models\Accounts" renderingClass="SRC\Loggers\AccountsLogger" />
    <appender name="ConsoleAppender" class="LoggerAppenderConsole" />
    <appender name="FileAppender" class="LoggerAppenderDailyFile">
        <layout class="LoggerLayoutPattern">
            <param name="conversionPattern" value="%date{Y-m-d H:i:s,u} [%logger]->%-5level %message%newline" />
        <layout class="LoggerLayoutSimple" />
        <param name="file" value="logs/file-%s.log" />
        <param name="datePattern" value="Y-m-d" />
    <appender name="toHTML" class="LoggerAppenderEcho">
        <layout class="LoggerLayoutHtml">
            <param name="title" value="DBManager Logger" />
    <logger name="DBManager">
        <appender_ref ref="FileAppender" />
    <logger name="Accounts">
        <appender_ref ref="FileAppender" />
        <level value="DEBUG" />
        <appender_ref ref="ConsoleAppender" />
        <appender_ref ref="toHTML" />
For more information send a message to info at phpclasses dot org.