Lines Matching +refs:val +refs:context
228 /* Set context class loader to null in order to avoid
351 LoggerContext context = null;
367 context = (LoggerContext)javaAwtAccess.get(ecx, LoggerContext.class);
368 if (context == null) {
370 context = userContext;
373 // The new logger context has its requiresDefaultLoggers
375 // lazily added when the context is firt accessed.
376 context = new LoggerContext(true);
378 javaAwtAccess.put(ecx, LoggerContext.class, context);
383 return context != null ? context : userContext;
435 // Add a system logger in the system context's namespace
471 // LoggerContext maintains the logger namespace per context.
472 // The default LogManager implementation has one system context and user
473 // context. The system context is used to maintain the namespace for
475 // doesn't exist in the user context, it'll also be added to the user context.
476 // The user context is queried by the user code and all other loggers are
477 // added in the user context.
502 // Checks that the context is properly initialized
516 // ensure that this context is properly initialized before
533 // context.
534 // 'logger' is the context that will be added.
587 // Add a logger to this context. This method will only set its level
667 // ensure that this context is properly initialized before
737 // Add a system logger in the system context's namespace as well as
853 node.context.removeLogger(name);
1242 String val = getProperty(name);
1243 if (val == null) {
1246 return val.trim();
1253 String val = getProperty(name);
1254 if (val == null) {
1258 return Integer.parseInt(val.trim());
1268 String val = getProperty(name);
1269 if (val == null) {
1272 val = val.toLowerCase();
1273 if (val.equals("true") || val.equals("1")) {
1275 } else if (val.equals("false") || val.equals("0")) {
1285 String val = getProperty(name);
1286 if (val == null) {
1289 Level l = Level.findLevel(val.trim());
1298 String val = getProperty(name);
1300 if (val != null) {
1301 Class clz = ClassLoader.getSystemClassLoader().loadClass(val);
1319 String val = getProperty(name);
1321 if (val != null) {
1322 Class clz = ClassLoader.getSystemClassLoader().loadClass(val);
1362 * Check that the current context is trusted to modify the logging
1380 final LoggerContext context;
1382 LogNode(LogNode parent, LoggerContext context) {
1384 this.context = context;