public synchronized void recordBreadcrumb(Breadcrumb breadcrumb) {
        if (breadcrumbs == null) {
            breadcrumbs = new CircularFifoQueue<>(breadcrumbLimit);
        }

        breadcrumbs.add(breadcrumb);
    }
public synchronized void recordBreadcrumb ( Breadcrumb breadcrumb ) { if ( breadcrumbs == null ) { breadcrumbs = new CircularFifoQueue < > ( breadcrumbLimit ) ; } breadcrumbs . add ( breadcrumb ) ; }
Record a single {@link Breadcrumb} into this context.

@param breadcrumb Breadcrumb object to record