org.apache.logging.log4j.spi

Interface CleanableThreadContextMap

    • Method Detail

      • removeAll

        void removeAll(Iterable<String> keys)
        Removes all given context map keys from the current thread's context map.

        If the current thread does not have a context map it is created as a side effect.

        Parameters:
        keys - The keys.
        Since:
        2.8

Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.