public class AntLogger extends Object
| Constructor and Description |
|---|
AntLogger(org.apache.tools.ant.Task task)
An instance of this class will format messages in a useful way, that can be logged by a tasks logging methods.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(String message,
LogTag logTag)
Simplified logging method, that will output the given information on log level error.
|
void |
error(String message,
Throwable ex,
LogTag logTag)
Simplified logging method, that will output the given information on log level error.
|
void |
error(Throwable ex,
LogTag logTag)
Simplified logging method, that will output the given information on log level error.
|
void |
info(LogTag logTag)
Simplified logging method, that will output the given information on log level info.
|
void |
info(String message,
LogTag logTag)
Simplified logging method, that will output the given information on log level info.
|
void |
warn(String message,
LogTag logTag)
Simplified logging method, that will output the given information on log level warn.
|
void |
warn(String message,
Throwable ex,
LogTag logTag)
Simplified logging method, that will output the given information on log level warn.
|
void |
warn(Throwable ex,
LogTag logTag)
Simplified logging method, that will output the given information on log level warn.
|
public AntLogger(org.apache.tools.ant.Task task)
task - The owning task that shall be managed.public void info(String message, LogTag logTag)
message - The message that shall be logged.logTag - The tag that caused the logged event.public void info(LogTag logTag)
logTag - The tag that caused the logged event.public void error(String message, LogTag logTag)
message - The message that shall be logged.logTag - The tag that caused the logged event.public void error(String message, Throwable ex, LogTag logTag)
message - The message that shall be logged.ex - The Exception, that has occurred and shall be logged.logTag - The tag that caused the logged event.public void error(Throwable ex, LogTag logTag)
ex - The Exception, that has occurred and shall be logged.logTag - The tag that caused the logged event.public void warn(String message, LogTag logTag)
message - The message that shall be logged.logTag - The tag that caused the logged event.public void warn(String message, Throwable ex, LogTag logTag)
message - The message that shall be logged.ex - The Exception, that has occurred and shall be logged.logTag - The tag that caused the logged event.Copyright © 2017–2019 SoftVision Development GmbH, Fulda, Germany. All rights reserved.