Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setIncludeStackTrace (0.28 sec)

  1. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        @DisplayName("Test stack trace inclusion")
        void testStackTraceInclusion() {
            logger.setIncludeStackTrace(true);
    
            Map<String, Object> context = new HashMap<>();
            context.put("error", "Test error");
    
            logger.logSecurityViolation("Test violation with stack trace", context);
    
            logger.setIncludeStackTrace(false);
            logger.logSecurityViolation("Test violation without stack trace", context);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/audit/SecurityAuditLogger.java

        }
    
        /**
         * Enable or disable stack trace inclusion
         *
         * @param enable true to include stack traces
         */
        public void setIncludeStackTrace(boolean enable) {
            this.includeStackTrace = enable;
        }
    
        /**
         * Set minimum log level
         *
         * @param level minimum severity level to log
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top