Platform SDK Java 8.5 API Reference

com.genesyslab.platform.logging.runtime.targets
Interface Target

All Known Implementing Classes:
BaseTarget, ConsoleTarget, FileTarget, MessageServerTarget, NullTarget, SpooledNetworkTarget

public interface Target

The base interface for all targets for writing the LogEntry.


Method Summary
 void stop()
          This method is called by Logger to stop target.
 void write(LogEntry entry)
          This method is called by Logger to write the passed entry.
 

Method Detail

write

void write(LogEntry entry)
           throws LoggerException,
                  java.lang.Exception
This method is called by Logger to write the passed entry.

Parameters:
entry - LogEntry to write
Throws:
LoggerException
java.lang.Exception

stop

void stop()
This method is called by Logger to stop target.


Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.