Class LogRecordingHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- com.google.api.client.testing.util.LogRecordingHandler
-
-
Constructor Summary
Constructors Constructor Description LogRecordingHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
List<String>
messages()
Returns a new instance of a list of published record messages.void
publish(LogRecord record)
-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Method Detail
-
close
public void close() throws SecurityException
- Specified by:
close
in classHandler
- Throws:
SecurityException
-
-