public ServerInstanceLogRecordList getLogListForServerInstance ( Date time , final LogRecordHeaderFilter filter ) { ServerInstanceByTime instance = new ServerInstanceByTime ( time == null ? - 1 : time . getTime ( ) ) ; if ( instance . logs == null && instance . traces == null ) { return EMPTY_LIST ; } else { return new ServerInstanceLogRecordListImpl ( instance . logs , instance . traces , false ) { @ Override public OnePidRecordListImpl queryResult ( LogRepositoryBrowser browser ) { return new LogRecordBrowser ( browser ) . recordsInProcess ( - 1 , - 1 , filter ) ; } } ; } }
returns log records from the binary repository which satisfy condition of the filter as specified by the parameter . The returned logs will be from the same server instance . The server instance will be determined by the time as specified by the parameter .