Home
last modified time | relevance | path

Searched refs:Level (Results 1 – 25 of 41) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/util/logging/
DPlatformLogger.java103 public static enum Level { enum in PlatformLogger
135 static Level valueOf(int level) { in valueOf()
139 case PlatformLogger.FINEST : return Level.FINEST; in valueOf()
140 case PlatformLogger.FINE : return Level.FINE; in valueOf()
141 case PlatformLogger.FINER : return Level.FINER; in valueOf()
142 case PlatformLogger.INFO : return Level.INFO; in valueOf()
143 case PlatformLogger.WARNING : return Level.WARNING; in valueOf()
144 case PlatformLogger.CONFIG : return Level.CONFIG; in valueOf()
145 case PlatformLogger.SEVERE : return Level.SEVERE; in valueOf()
146 case PlatformLogger.OFF : return Level.OFF; in valueOf()
[all …]
/libcore/ojluni/src/main/java/java/util/logging/
DLevel.java66 public class Level implements java.io.Serializable { class
92 public static final Level OFF = new Level("OFF",Integer.MAX_VALUE, defaultBundle);
103 public static final Level SEVERE = new Level("SEVERE",1000, defaultBundle);
113 public static final Level WARNING = new Level("WARNING", 900, defaultBundle);
124 public static final Level INFO = new Level("INFO", 800, defaultBundle);
136 public static final Level CONFIG = new Level("CONFIG", 700, defaultBundle);
157 public static final Level FINE = new Level("FINE", 500, defaultBundle);
165 public static final Level FINER = new Level("FINER", 400, defaultBundle);
171 public static final Level FINEST = new Level("FINEST", 300, defaultBundle);
177 public static final Level ALL = new Level("ALL", Integer.MIN_VALUE, defaultBundle);
[all …]
DLoggingProxyImpl.java51 ((Logger) logger).setLevel((Level) newLevel); in setLevel()
56 return ((Logger) logger).isLoggable((Level) level); in isLoggable()
61 ((Logger) logger).log((Level) level, msg); in log()
66 ((Logger) logger).log((Level) level, msg, t); in log()
71 ((Logger) logger).log((Level) level, msg, params); in log()
96 Level level = Level.findLevel(levelName); in parseLevel()
105 return ((Level) level).getLevelName(); in getLevelName()
110 return ((Level) level).intValue(); in getLevelValue()
DLogger.java220 private static final int offValue = Level.OFF.intValue();
277 private volatile Level levelObject;
382 levelValue = Level.INFO.intValue(); in Logger()
407 levelValue = Level.INFO.intValue(); in Logger()
783 public void log(Level level, String msg) { in log()
805 public void log(Level level, Supplier<String> msgSupplier) { in log()
824 public void log(Level level, String msg, Object param1) { in log()
845 public void log(Level level, String msg, Object params[]) { in log()
870 public void log(Level level, String msg, Throwable thrown) { in log()
898 public void log(Level level, Throwable thrown, Supplier<String> msgSupplier) { in log()
[all …]
DMemoryHandler.java92 private volatile Level pushLevel;
105 pushLevel = manager.getLevelProperty(cname +".push", Level.SEVERE); in configure()
110 setLevel(manager.getLevelProperty(cname +".level", Level.ALL)); in configure()
171 public MemoryHandler(Handler target, int size, Level pushLevel) { in MemoryHandler()
257 setLevel(Level.OFF); in close()
269 public synchronized void setPushLevel(Level newLevel) throws SecurityException { in setPushLevel()
282 public Level getPushLevel() { in getPushLevel()
DHandler.java49 private static final int offValue = Level.OFF.intValue();
61 private volatile Level logLevel = Level.ALL;
261 public synchronized void setLevel(Level newLevel) throws SecurityException { in setLevel()
275 public Level getLevel() { in getLevel()
DLogging.java74 Level level = l.getLevel(); in getLoggerLevel()
93 Level level = null; in setLoggerLevel()
96 level = Level.findLevel(levelName); in setLoggerLevel()
DLogRecord.java92 private Level level;
176 public LogRecord(Level level, String msg) { in LogRecord()
253 public Level getLevel() { in getLevel()
261 public void setLevel(Level level) { in setLevel()
DConsoleHandler.java76 setLevel(manager.getLevelProperty(cname +".level", Level.INFO)); in configure()
DSocketHandler.java95 setLevel(manager.getLevelProperty(cname +".level", Level.ALL)); in configure()
/libcore/luni/src/test/java/libcore/sun/util/logging/
DPlatformLoggerTest.java23 import java.util.logging.Level;
36 assertLogLevel("SEVERE", Level.SEVERE); in testLogLevelConstants()
37 assertLogLevel("WARNING", Level.WARNING); in testLogLevelConstants()
38 assertLogLevel("INFO", Level.INFO); in testLogLevelConstants()
39 assertLogLevel("CONFIG", Level.CONFIG); in testLogLevelConstants()
40 assertLogLevel("FINE", Level.FINE); in testLogLevelConstants()
41 assertLogLevel("FINER", Level.FINER); in testLogLevelConstants()
42 assertLogLevel("FINEST", Level.FINEST); in testLogLevelConstants()
43 assertLogLevel("ALL", Level.ALL); in testLogLevelConstants()
44 assertLogLevel("OFF", Level.OFF); in testLogLevelConstants()
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/logging/
DLevel.annotated.java31 public class Level implements java.io.Serializable { class
33 protected Level(@libcore.util.NonNull java.lang.String name, int value) { throw new RuntimeExceptio… in Level() method in Level
35 protected Level(@libcore.util.NonNull java.lang.String name, int value, @libcore.util.Nullable java… in Level() method in Level
47 @libcore.util.NonNull public static synchronized java.util.logging.Level parse(@libcore.util.NonNul… in parse()
53 @libcore.util.NonNull public static final java.util.logging.Level ALL;
56 @libcore.util.NonNull public static final java.util.logging.Level CONFIG;
59 @libcore.util.NonNull public static final java.util.logging.Level FINE;
62 @libcore.util.NonNull public static final java.util.logging.Level FINER;
65 @libcore.util.NonNull public static final java.util.logging.Level FINEST;
68 @libcore.util.NonNull public static final java.util.logging.Level INFO;
[all …]
DLogger.annotated.java60 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log()
62 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.NonNull java.uti… in log()
64 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log()
66 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log()
68 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log()
70 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log()
72 public void logp(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.l… in logp()
74 public void logp(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.l… in logp()
76 public void logp(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.l… in logp()
78 public void logp(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.l… in logp()
[all …]
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLogRecordTest.java20 import java.util.logging.Level;
28 private LogRecord lr = new LogRecord(Level.CONFIG, MSG);
37 LogRecord lr2 = new LogRecord(Level.CONFIG, "MSG2"); in testGetSetTimeCheck()
43 assertSame(lr.getLevel(), Level.CONFIG); in testGetSetLevelNormal()
44 lr.setLevel(Level.ALL); in testGetSetLevelNormal()
45 assertSame(lr.getLevel(), Level.ALL); in testGetSetLevelNormal()
46 lr.setLevel(Level.FINEST); in testGetSetLevelNormal()
47 assertSame(lr.getLevel(), Level.FINEST); in testGetSetLevelNormal()
83 lr = new LogRecord(Level.CONFIG, "msg thread"); in update()
DOldLevelTest.java21 import java.util.logging.Level;
28 Level l = new MockLevel("level1", 120); in testGetResourceBundleName()
44 Level l = new MockLevel("level1", value1); in testIntValue()
49 public static class MockLevel extends Level implements Serializable {
DOldMemoryHandlerTest.java27 import java.util.logging.Level;
70 assertTrue(handler.isLoggable(new LogRecord(Level.INFO, "1"))); in testIsLoggable()
71 assertTrue(handler.isLoggable(new LogRecord(Level.WARNING, "2"))); in testIsLoggable()
72 assertTrue(handler.isLoggable(new LogRecord(Level.SEVERE, "3"))); in testIsLoggable()
80 assertEquals("Level should be FINE", Level.FINE, handler.getLevel()); in testMemoryHandler()
81 assertEquals("Level should be WARNING", Level.WARNING, handler.getPushLevel()); in testMemoryHandler()
DOldFileHandlerTest.java33 import java.util.logging.Level;
77 r = new LogRecord(Level.CONFIG, "msg"); in setUp()
101 assertEquals("is non equal to actual value", Level.FINE, handler in testFileHandler()
124 assertEquals("is non equal to actual value", Level.FINE, handler in testFileHandler_1params()
210 assertEquals("is non equal to actual value", Level.FINE, handler in testFileHandler_2params()
248 assertEquals("is non equal to actual value", Level.FINE, handler in testFileHandler_3params()
296 assertEquals("is non equal to actual value", Level.FINE, handler in testFileHandler_4params()
455 LogRecord[] r = new LogRecord[] { new LogRecord(Level.CONFIG, "msg__"), in testPublish()
456 new LogRecord(Level.WARNING, "message"), in testPublish()
457 new LogRecord(Level.INFO, "message for"), in testPublish()
[all …]
DOldFormatterTest.java22 import java.util.logging.Level;
31 LogRecord r = new LogRecord(Level.FINE, MSG);
DOldXMLFormatterTest.java22 import java.util.logging.Level;
37 lr = new LogRecord(Level.SEVERE, "pattern"); in setUp()
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DLogger.java120 public void log(java.util.logging.Level level, java.lang.String msg) { in log()
125 java.util.logging.Level level, in log()
130 public void log(java.util.logging.Level level, java.lang.String msg, java.lang.Object param1) { in log()
135 java.util.logging.Level level, java.lang.String msg, java.lang.Object[] params) { in log()
140 java.util.logging.Level level, java.lang.String msg, java.lang.Throwable thrown) { in log()
145 java.util.logging.Level level, in log()
152 java.util.logging.Level level, in logp()
160 java.util.logging.Level level, in logp()
168 java.util.logging.Level level, in logp()
177 java.util.logging.Level level, in logp()
[all …]
DHandler.java82 public synchronized void setLevel(java.util.logging.Level newLevel) in setLevel()
87 public java.util.logging.Level getLevel() { in getLevel()
107 private volatile java.util.logging.Level logLevel;
DLogManager.java112 private static void doSetLevel(java.util.logging.Logger logger, java.util.logging.Level level) { in doSetLevel()
166 java.util.logging.Level getLevelProperty( in getLevelProperty()
167 java.lang.String name, java.util.logging.Level defaultValue) { in getLevelProperty()
217 private static final java.util.logging.Level defaultLevel;
/libcore/dom/src/test/java/
DREADME2 Level 1 Core tests and Level 2 Core tests from
/libcore/dom/src/test/resources/META-INF/
DMANIFEST.MF10 Implementation-Title: W3C/NIST Test Suite for DOM Level 2 Core
11 Specification-Title: W3C/NIST Test Suite for DOM Level 2 Core
/libcore/luni/src/test/java/libcore/libcore/net/
DNetworkSecurityPolicyTest.java38 import java.util.logging.Level;
213 logger.setLevel(Level.ALL); in testCleartextTrafficPolicyWithLoggingSocketHandler()
214 LogRecord record = new LogRecord(Level.INFO, "A log record"); in testCleartextTrafficPolicyWithLoggingSocketHandler()

12