Package com.log4jviewer.logfile.fields

Examples of com.log4jviewer.logfile.fields.LogFieldName


            logRecord = new LogRecord();

            for (int i = 0; i < logFields.size(); i++) {
                String value = patternMatcher.group(i + 1).trim();
                AbstractField logField = logFields.get(i);
                LogFieldName fieldName = logField.getLogFieldName();
                Object fieldValue = logField.decodeValue(value);

                switch (fieldName) {
                case CATEGORY:
                    logRecord.setCategoryName((String) fieldValue);
View Full Code Here

TOP

Related Classes of com.log4jviewer.logfile.fields.LogFieldName

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.