public class ClineCommandContext extends java.lang.Object implements CommandContext
Constructor and Description |
---|
ClineCommandContext(org.slf4j.Logger l) |
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String s)
Logger an debug-level message.
|
void |
debug(java.lang.String s,
java.lang.Throwable t)
Logger a debug-level message that resulted from a
Throwable . |
void |
errln(java.lang.String s)
Send a line of output to the equivalent of standard error.
|
void |
error(java.lang.String s)
Logger an error.
|
void |
error(java.lang.String s,
java.lang.Throwable t)
Logger an error that resulted from a
Throwable . |
void |
info(java.lang.String s)
Logger an informative message.
|
void |
info(java.lang.String s,
java.lang.Throwable t)
Logger an informative message that resulted from a
Throwable . |
void |
out(java.lang.String s)
Send output to the equivalent of standard out.
|
void |
outln(java.lang.String s)
Send a line of output to the equivalent of standard out.
|
void |
warn(java.lang.String s)
Logger a warning.
|
void |
warn(java.lang.String s,
java.lang.Throwable t)
Logger a warning that resulted from a
Throwable |
public void outln(java.lang.String s)
CommandContext
outln
in interface CommandContext
s
- the content to send.public void out(java.lang.String s)
CommandContext
out
in interface CommandContext
s
- the content to send.public void errln(java.lang.String s)
CommandContext
errln
in interface CommandContext
s
- the content to send.public void error(java.lang.String s)
CommandContext
error
in interface CommandContext
s
- a descriptive message.public void error(java.lang.String s, java.lang.Throwable t)
CommandContext
Throwable
.error
in interface CommandContext
s
- a descriptive message.t
- the cause.public void info(java.lang.String s)
CommandContext
info
in interface CommandContext
s
- a descriptive message.public void info(java.lang.String s, java.lang.Throwable t)
CommandContext
Throwable
.info
in interface CommandContext
s
- a descriptive message.t
- the cause.public void debug(java.lang.String s, java.lang.Throwable t)
CommandContext
Throwable
.debug
in interface CommandContext
s
- a descriptive message.t
- the cause.public void debug(java.lang.String s)
CommandContext
debug
in interface CommandContext
s
- a descriptive message.public void warn(java.lang.String s)
CommandContext
warn
in interface CommandContext
s
- a descriptive message.public void warn(java.lang.String s, java.lang.Throwable t)
CommandContext
Throwable
warn
in interface CommandContext