APISonar


com.facebook.swift.service.scribe.scribe.log

> com > facebook > swift > service > scribe > scribe > log
com APIs facebook APIs swift APIs service APIs scribe APIs scribe APIs log APIs

Example 1
private com.facebook.swift.service.ResultCode logSwift(int port, List<com.facebook.swift.service.LogEntry> entries)
            throws Exception
    {
        try (
                ThriftClientManager clientManager = new ThriftClientManager();
                Scribe scribe = clientManager.createClient(
                        new FramedClientConnector(fromParts("localhost", port)),
                        Scribe.class).get()
        ) {
            return scribe.log(entries);
        }
    }