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

com.newrelic.labs.LogEntry Maven / Gradle / Ivy

package com.newrelic.labs;

import java.util.Map;

public class LogEntry {
	private final String message;
	private final String applicationName;
	private final String name;
	private final String logtype;
	private final long timestamp;
	private final Map custom; // Add custom fields

	public LogEntry(String message, String applicationName, String name, String logtype, long timestamp,
			Map custom) {
		this.message = message;
		this.applicationName = applicationName;
		this.name = name;
		this.logtype = logtype;
		this.timestamp = timestamp;
		this.custom = custom; // Initialize custom fields
	}

	public String getMessage() {
		return message;
	}

	public String getApplicationName() {
		return applicationName;
	}

	public String getName() {
		return name;
	}

	public String getLogType() {
		return logtype;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public Map getcustom() {
		return custom;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy