@Override public void debug( String s, Throwable throwable ) { log.debug( s, throwable ); }
@Override public void clear() { state.clear(); log.debug( "Schema state store has been cleared." ); } }
public DurationLogger( Log log, String tag ) { this.log = log; this.tag = tag; start = System.currentTimeMillis(); log.debug( format( "Started: %s", tag ) ); }
@Override public void debug( String s, Object o ) { log.debug( slf4jToStringFormatPlaceholders( s ), o ); }
@Override public void debug( String s, Object o, Object o1 ) { log.debug( slf4jToStringFormatPlaceholders( s ), o, o1 ); }
@Override public void debug( String s, Object... objects ) { log.debug( slf4jToStringFormatPlaceholders( s ), objects ); }
public void debug( @Nonnull String msg ) { if ( filter.accept( msg, null ) ) { delegate.debug( msg ); } }
public void debug( @Nonnull String msg, @Nonnull Throwable cause ) { if ( filter.accept( msg, cause ) ) { delegate.debug( msg, cause ); } }
@Override public void encode( Neo4jPack.Packer packer, FailureMessage message ) throws IOException { if ( message instanceof FatalFailureMessage ) { log.debug( "Encoding a fatal failure message to send. Message: %s", message ); } encodeFailure( message, packer ); }
@Override public void log( @Nonnull String format, @Nonnull Object... arguments ) { log.debug( format, arguments ); }
@Override public void log( @Nonnull String message, @Nonnull Throwable throwable ) { log.debug( message, throwable ); }
private boolean verifyBoltPreamble() { if ( handshakeBuffer.getInt( 0 ) != BOLT_MAGIC_PREAMBLE ) { log.debug( "Invalid Bolt handshake signature. Expected 0x%08X, but got: 0x%08X", BOLT_MAGIC_PREAMBLE, handshakeBuffer.getInt( 0 ) ); return false; } return true; }
@Override public void addJAXRSPackages( List<String> packageNames, String mountPoint, Collection<Injectable<?>> injectables ) { // We don't want absolute URIs at this point mountPoint = ensureRelativeUri( mountPoint ); mountPoint = trimTrailingSlashToKeepJettyHappy( mountPoint ); JaxRsServletHolderFactory factory = jaxRSPackages.computeIfAbsent( mountPoint, k -> new JaxRsServletHolderFactory.Packages() ); factory.add( packageNames, injectables ); log.debug( "Adding JAXRS packages %s at [%s]", packageNames, mountPoint ); }
@Override public void addJAXRSClasses( List<String> classNames, String mountPoint, Collection<Injectable<?>> injectables ) { // We don't want absolute URIs at this point mountPoint = ensureRelativeUri( mountPoint ); mountPoint = trimTrailingSlashToKeepJettyHappy( mountPoint ); JaxRsServletHolderFactory factory = jaxRSClasses.computeIfAbsent( mountPoint, k -> new JaxRsServletHolderFactory.Classes() ); factory.add( classNames, injectables ); log.debug( "Adding JAXRS classes %s at [%s]", classNames, mountPoint ); }
FulltextIndexTransactionState( FulltextIndexProvider provider, Log log, IndexReference indexReference ) { FulltextIndexAccessor accessor = provider.getOpenOnlineAccessor( (StoreIndexDescriptor) indexReference ); log.debug( "Acquired online fulltext schema index accessor, as base accessor for transaction state: %s", accessor ); descriptor = accessor.getDescriptor(); SchemaDescriptor schema = descriptor.schema(); toCloseLater = new ArrayList<>(); writer = accessor.getTransactionStateIndexWriter(); modifiedEntityIdsInThisTransaction = new LongHashSet(); visitingNodes = schema.entityType() == EntityType.NODE; txStateVisitor = new FulltextIndexTransactionStateVisitor( descriptor, modifiedEntityIdsInThisTransaction, writer ); }
@Override public boolean test( StoreIndexDescriptor descriptor ) { boolean result = storeView.indexSample( descriptor.getId(), register ).readSecond() == 0; if ( result ) { log.debug( "Recovering index sampling for index %s", descriptor.schema().userDescription( tokenNameLookup ) ); } return result; } };
@Test void shouldLogDebug() { Log log = logProvider.getLog( getClass() ); log.debug( "Holy debug batman!" ); assertLogOccurred( Level.DEBUG, "Holy debug batman!" ); }
@Procedure public Stream<MyOutputRecord> logAround() { log.debug( "1" ); log.info( "2" ); log.warn( "3" ); log.error( "4" ); return Stream.empty(); } }
@UserAggregationUpdate public void logAround() { log.debug( "1" ); log.info( "2" ); log.warn( "3" ); log.error( "4" ); }
@UserFunction public long logAround() { log.debug( "1" ); log.info( "2" ); log.warn( "3" ); log.error( "4" ); return -1L; } }