// Path: logful/src/main/java/com/getui/logful/LifeCycle.java
// public interface LifeCycle {
// 
//     public enum State {
//         /**
//          * Initialized but not yet started.
//          */
//         INITIALIZED,
//         /**
//          * In the process of starting.
//          */
//         STARTING,
//         /**
//          * Has started.
//          */
//         STARTED,
//         /**
//          * Stopping is in progress.
//          */
//         STOPPING,
//         /**
//          * Has stopped.
//          */
//         STOPPED
//     }
// 
//     /**
//      * Gets the life-cycle state.
//      *
//      * @return the life-cycle state
//      */
//     State getState();
// 
//     void start();
// 
//     void stop();
// 
//     boolean isStarted();
// 
//     boolean isStopped();
// }
// 
// Path: logful/src/main/java/com/getui/logful/layout/Layout.java
// public interface Layout {
// 
//     byte[] toBytes(LogEvent event);
// 
// }


import com.getui.logful.LifeCycle;
import com.getui.logful.layout.Layout;
package com.getui.logful.appender;


public interface Appender extends LifeCycle {

    void append(LogEvent event);

    ErrorHandler getHandler();

// Path: logful/src/main/java/com/getui/logful/LifeCycle.java
// public interface LifeCycle {
// 
//     public enum State {
//         /**
//          * Initialized but not yet started.
//          */
//         INITIALIZED,
//         /**
//          * In the process of starting.
//          */
//         STARTING,
//         /**
//          * Has started.
//          */
//         STARTED,
//         /**
//          * Stopping is in progress.
//          */
//         STOPPING,
//         /**
//          * Has stopped.
//          */
//         STOPPED
//     }
// 
//     /**
//      * Gets the life-cycle state.
//      *
//      * @return the life-cycle state
//      */
//     State getState();
// 
//     void start();
// 
//     void stop();
// 
//     boolean isStarted();
// 
//     boolean isStopped();
// }
// 
// Path: logful/src/main/java/com/getui/logful/layout/Layout.java
// public interface Layout {
// 
//     byte[] toBytes(LogEvent event);
// 
// }


// Path: logful/src/main/java/com/getui/logful/appender/Appender.java
import com.getui.logful.LifeCycle;
import com.getui.logful.layout.Layout;

package com.getui.logful.appender;


public interface Appender extends LifeCycle {

    void append(LogEvent event);

    ErrorHandler getHandler();

    Layout getLayout();