Package org.apache.log.format

Examples of org.apache.log.format.ExtendedPatternFormatter


        final String logDestination =
            properties.getProperty( "log-destination",
                                    m_home + DEFAULT_LOG_FILE );
        final String logPriority =
            properties.getProperty( "log-priority", "INFO" );
        final ExtendedPatternFormatter formatter = new ExtendedPatternFormatter( DEFAULT_FORMAT );

        if( "true".equals( properties.getProperty( "log-stdout", "false" ) ) )
        {
            m_logTarget = new StreamTarget( System.out, formatter );
        }
View Full Code Here


             *of Logger.class.  But when Excalibur Logger provides a
             *facade, the user class/method is actually one-level deeper.
             *We therefore create the pattern-formatter with an
             *additional depth-offset of 1.
             */
            return new ExtendedPatternFormatter( format, 1 );
        }
        else if( "raw".equals( type ) )
        {
            return new RawFormatter();
        }
View Full Code Here

        final String type = conf.getAttribute( "type", "pattern" );
        final String format = conf.getValue( FORMAT );

        if( "extended".equals( type ) )
        {
            return new ExtendedPatternFormatter( format );
        }
        else if( "raw".equals( type ) )
        {
            return new RawFormatter();
        }
View Full Code Here

        final String type = conf.getAttribute( "type", "pattern" );
        final String format = conf.getValue( FORMAT );

        if( "extended".equals( type ) )
        {
            return new ExtendedPatternFormatter( format );
        }
        else if( "raw".equals( type ) )
        {
            return new RawFormatter();
        }
View Full Code Here

             *of Logger.class.  But when Excalibur Logger provides a
             *facade, the user class/method is actually one-level deeper.
             *We therefore create the pattern-formatter with an
             *additional depth-offset of 1.
             */
            return new ExtendedPatternFormatter( format, 1 );
        }
        else if( "raw".equals( type ) )
        {
            return new RawFormatter();
        }
View Full Code Here

TOP

Related Classes of org.apache.log.format.ExtendedPatternFormatter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.