All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.trueupdate.jms.LogRecordDto Maven / Gradle / Ivy

There is a newer version: 0.8.1
Show newest version
/*
 * Copyright (C) 2013 Schlichtherle IT Services & Stimulus Software.
 * All rights reserved. Use is subject to license terms.
 */
package net.java.trueupdate.jms;

import javax.annotation.Nullable;
import javax.xml.bind.annotation.*;

/**
 * A Data Transfer Object (DTO) for a {@link java.util.logging.LogRecord}.
 *
 * @author Christian Schlichtherle
 */
@SuppressWarnings("PackageVisibleField")
@XmlType(propOrder = { })
@XmlAccessorType(XmlAccessType.FIELD)
@Nullable
final class LogRecordDto {

    @XmlElement(name = "a")
    String loggerName;

    @XmlElement(name = "b")
    String resourceBundleName;

    @XmlElement(name = "c")
    String level;

    @XmlElement(name = "d")
    long sequenceNumber;

    @XmlElement(name = "e")
    String sourceClassName;

    @XmlElement(name = "f")
    String sourceMethodName;

    @XmlElement(name = "g")
    String message;

    @XmlElement(name = "h")
    Object[] parameters;

    @XmlElement(name = "i")
    int threadId;

    @XmlElement(name = "j")
    long millis;

    @XmlElement(name = "k")
    String thrown;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy