View Javadoc

    1   package org.slf4j.issues;
    2
    3   import org.slf4j.Logger;
    4   import org.slf4j.LoggerFactory;
    5
    6   import junit.framework.TestCase;
    7
    8   public class Issue324Test extends TestCase {
    9
    10      public void testLoggerCreationInPresenseOfSecurityManager() {
    11          String currentDir = System.getProperty("user.dir");
    12          System.out.println("currentDir:" + currentDir);
    13          Logger logger = LoggerFactory.getLogger(Issue324Test.class);
    14          logger.debug("hello");
    15      }
    16  }