/** * Start creating a {@link FormattedLog} using the specified object to synchronize on. * Use {@link Builder#toOutputStream} to complete. * * @param lock the object to synchronize on * @return a builder for a {@link FormattedLog} */ public static Builder usingLock( Object lock ) { return new Builder().usingLock( lock ); }
/** * Start creating a {@link FormattedLog} using the specified object to synchronize on. * Use {@link Builder#toOutputStream} to complete. * * @param lock the object to synchronize on * @return a builder for a {@link FormattedLog} */ public static Builder usingLock( Object lock ) { return new Builder().usingLock( lock ); }