org.neo4j.logging

Interface Log

    • Method Detail

      • isDebugEnabled

        boolean isDebugEnabled()
        Returns:
        true if the current log level enables debug logging
      • debug

        void debug(@Nonnull
                   String message)
        Shorthand for debugLogger().log( message )
        Parameters:
        message - The message to be written
      • debug

        void debug(@Nonnull
                   String message,
                   @Nonnull
                   Throwable throwable)
        Shorthand for debugLogger().log( message, throwable )
        Parameters:
        message - The message to be written
        throwable - An exception that will also be written
      • debug

        void debug(@Nonnull
                   String format,
                   @Nonnull
                   Object... arguments)
        Shorthand for debugLogger().log( format, arguments )
        Parameters:
        format - A string format for writing a message
        arguments - Arguments to substitute into the message according to the format
      • info

        void info(@Nonnull
                  String message)
        Shorthand for infoLogger().log( message )
        Parameters:
        message - The message to be written
      • info

        void info(@Nonnull
                  String message,
                  @Nonnull
                  Throwable throwable)
        Shorthand for infoLogger().log( message, throwable )
        Parameters:
        message - The message to be written
        throwable - An exception that will also be written
      • info

        void info(@Nonnull
                  String format,
                  @Nonnull
                  Object... arguments)
        Shorthand for infoLogger().log( format, arguments )
        Parameters:
        format - A string format for writing a message
        arguments - Arguments to substitute into the message according to the format
      • warn

        void warn(@Nonnull
                  String message)
        Shorthand for warnLogger().log( message )
        Parameters:
        message - The message to be written
      • warn

        void warn(@Nonnull
                  String message,
                  @Nonnull
                  Throwable throwable)
        Shorthand for warnLogger().log( message, throwable )
        Parameters:
        message - The message to be written
        throwable - An exception that will also be written
      • warn

        void warn(@Nonnull
                  String format,
                  @Nonnull
                  Object... arguments)
        Shorthand for warnLogger().log( format, arguments )
        Parameters:
        format - A string format for writing a message
        arguments - Arguments to substitute into the message according to the format
      • error

        void error(@Nonnull
                   String message)
        Shorthand for errorLogger().log( message )
        Parameters:
        message - The message to be written
      • error

        void error(@Nonnull
                   String message,
                   @Nonnull
                   Throwable throwable)
        Shorthand for errorLogger().log( message, throwable )
        Parameters:
        message - The message to be written
        throwable - An exception that will also be written
      • error

        void error(@Nonnull
                   String format,
                   @Nonnull
                   Object... arguments)
        Shorthand for errorLogger().log( format, arguments )
        Parameters:
        format - A string format for writing a message
        arguments - Arguments to substitute into the message according to the format
      • bulk

        void bulk(@Nonnull
                  Consumer<Log> consumer)
        Used to temporarily log several messages in bulk. The implementation may choose to disable flushing, and may also block other operations until the bulk update is completed.
        Parameters:
        consumer - A consumer for the bulk Log

Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.