Class ServerLog

    • Constructor Detail

      • ServerLog

        public ServerLog()
        PUBLIC:

        Create and return a new ServerLog.

    • Method Detail

      • log

        public void log​(SessionLogEntry entry)
        PUBLIC:

        Log a SessionLogEntry

        Specified by:
        log in interface SessionLog
        Specified by:
        log in class AbstractSessionLog
        Parameters:
        entry - SessionLogEntry that holds all the information for a TopLink logging event

      • basicLog

        protected void basicLog​(int level,
                                java.lang.String category,
                                java.lang.String message)

        Log message to a writer by default. It needs to be overridden by the subclasses.

        Parameters:
        level - the log request level

        message - the formatted string message