public class OdpsLogger extends Object
| Constructor and Description |
|---|
OdpsLogger(String name,
String outputPath,
boolean toConsole,
String configFilePath)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String msg) |
void |
error(String msg) |
void |
error(String msg,
Throwable e) |
static String |
getDefaultOutputPath()
Return the default output path.
|
void |
info(String msg) |
void |
warn(String msg) |
public OdpsLogger(String name, String outputPath, boolean toConsole, String configFilePath)
name - For both odps and sl4j logger, name of the loggeroutputPath - For odps logger, output path for file handlertoConsole - For odps logger, output to console or notconfigFilePath - For sl4j logger, config file pathpublic void debug(String msg)
public void info(String msg)
public void warn(String msg)
public void error(String msg)
public static String getDefaultOutputPath()
Copyright © 2019 Alibaba Cloud Computing. All rights reserved.