001/**
002 * Copyright 2010-2014 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.common.util;
017
018/**
019 * @deprecated
020 */
021@Deprecated
022public class LogMsg {
023
024        LoggerLevel level = LoggerLevel.INFO;
025        String message;
026        Object[] args;
027
028        public LogMsg() {
029                this(null, null, LoggerLevel.INFO);
030        }
031
032        public LogMsg(String message, Object[] args) {
033                this(message, args, LoggerLevel.INFO);
034        }
035
036        public LogMsg(String message, Object[] args, LoggerLevel level) {
037                this.message = message;
038                this.args = args;
039                this.level = level;
040        }
041
042        public String getMessage() {
043                return message;
044        }
045
046        public void setMessage(String message) {
047                this.message = message;
048        }
049
050        public Object[] getArgs() {
051                return args;
052        }
053
054        public void setArgs(Object[] args) {
055                this.args = args;
056        }
057
058        public LoggerLevel getLevel() {
059                return level;
060        }
061
062        public void setLevel(LoggerLevel level) {
063                this.level = level;
064        }
065
066}