Code example for LogRecord

Methods: getSequenceNumber

0
	public void publish(LogRecord event) {
		if (appender == null) {
			return; 
		} 
 
		String lookupKey = "_"+event.getSequenceNumber();
		LogEvent _event = Switchboard.get(lookupKey);
 
		if (_event != null) {
			appender.append(_event);
		} 
	} 
 
	@Override 
	public void flush() { 
		// nothing 
	} 
 
	@Override 
	public void close() throws SecurityException { 
Experience pair programming with AI  Get Codota for Java