Class LoggingSessionHolder

  • All Implemented Interfaces:

    
    public final class LoggingSessionHolder
    
                        

    A static class responsible for managing running logging sessions.

    • Constructor Detail

      • LoggingSessionHolder

        LoggingSessionHolder()
    • Method Detail

      • loggingSessionStopped

         final static Unit loggingSessionStopped(RemoteLogger logger)

        Signals the end of a logging session and removes the associated logger from the list of running loggers.

        Parameters:
        logger - The RemoteLogger representing the logging session to be stopped.
      • isCurrentlyModifyingFile

         final static Boolean isCurrentlyModifyingFile(String fileName)

        Checks if there is a logging session currently modifying the specified fileName.

        Parameters:
        fileName - The name of the file to check.
        Returns:

        true if a logging session is currently modifying the file, otherwise false.