/*
* Copyright 2012 Brendan McCarthy (brendan@oddsoftware.net)
*
* This file is part of Feedscribe.
*
* Feedscribe is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3
* as published by the Free Software Foundation.
*
* Feedscribe is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Feedscribe. If not, see <http://www.gnu.org/licenses/>.
*/
package net.oddsoftware.android.utils;
public class LogEntry
{
public long mTimestamp;
public int mLevel;
public String mMessage;
public Throwable mException;
public LogEntry(long timestamp, int level, String message, Throwable exc)
{
mTimestamp = timestamp;
mLevel = level;
mMessage = message;
mException = exc;
}
public String toString()
{
return mMessage;
}
}