Search in sources :

Example 1 with LogContext

use of com.codingchili.logging.configuration.LogContext in project chili-core by codingchili.

the class ServiceLogHandlerTest method setUp.

@Before
public void setUp(TestContext test) {
    Async async = test.async();
    context = new LogContext(new SystemContext(), future);
    future.setHandler(done -> {
        context.storage().clear(clear -> {
            async.complete();
        });
        handler = new ServiceLogHandler(context);
    });
}
Also used : SystemContext(com.codingchili.core.context.SystemContext) Async(io.vertx.ext.unit.Async) LogContext(com.codingchili.logging.configuration.LogContext) Before(org.junit.Before)

Aggregations

SystemContext (com.codingchili.core.context.SystemContext)1 LogContext (com.codingchili.logging.configuration.LogContext)1 Async (io.vertx.ext.unit.Async)1 Before (org.junit.Before)1