public class Handlers extends Object
| 限定符 | 构造器和说明 |
|---|---|
private |
Handlers() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Handler |
fileHandler(String pattern,
int limit,
int count,
boolean append,
String level) |
static Handler |
fileHandler(String pattern,
int limit,
String level) |
static Handler |
socketHandler(String host,
int port,
String level) |
public static Handler socketHandler(String host, int port, String level) throws IOException
IOExceptionpublic static Handler fileHandler(String pattern, int limit, String level) throws IOException
IOExceptionpublic static Handler fileHandler(String pattern, int limit, int count, boolean append, String level) throws IOException
IOExceptionCopyright © 2020. All rights reserved.