| Package | Description |
|---|---|
| org.gradle.api.tasks.diagnostics.internal | |
| org.gradle.logging | |
| org.gradle.logging.internal |
| Modifier and Type | Method and Description |
|---|---|
StyledTextOutput |
TextReportRenderer.getTextOutput() |
| Modifier and Type | Method and Description |
|---|---|
void |
TextReportRenderer.setOutput(StyledTextOutput textOutput) |
void |
ReportRenderer.setOutput(StyledTextOutput textOutput)
Sets the text output for the report.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GraphRenderer.visit(Action<? super StyledTextOutput> node,
boolean lastChild)
Visits a node in the graph.
|
| Constructor and Description |
|---|
GraphRenderer(StyledTextOutput output) |
| Modifier and Type | Method and Description |
|---|---|
StyledTextOutput |
StyledTextOutput.append(char c)
Appends a character using the current style.
|
StyledTextOutput |
StyledTextOutput.append(CharSequence csq)
Appends a sequence of characters using the current style.
|
StyledTextOutput |
StyledTextOutput.append(CharSequence csq,
int start,
int end)
Appends a sequence of characters using the current style.
|
StyledTextOutput |
StyledTextOutputFactory.create(Class logCategory)
Creates a
StyledTextOutput with the given category and the standard output log level. |
StyledTextOutput |
StyledTextOutputFactory.create(Class logCategory,
LogLevel logLevel)
Creates a
StyledTextOutput with the given category and log level. |
StyledTextOutput |
StyledTextOutputFactory.create(String logCategory)
Creates a
StyledTextOutput with the given category and the standard output log level. |
StyledTextOutput |
StyledTextOutputFactory.create(String logCategory,
LogLevel logLevel)
Creates a
StyledTextOutput with the given category and log level. |
StyledTextOutput |
StyledTextOutput.exception(Throwable throwable)
Appends the stacktrace of the given exception using the current style.
|
StyledTextOutput |
StyledTextOutput.format(String pattern,
Object... args)
Appends a formatted string using the current style.
|
StyledTextOutput |
StyledTextOutput.formatln(String pattern,
Object... args)
Appends a formatted string using the current style and starts a new line.
|
StyledTextOutput |
StyledTextOutput.println()
Starts a new line.
|
StyledTextOutput |
StyledTextOutput.println(Object text)
Appends text using the current style and starts a new line.
|
StyledTextOutput |
StyledTextOutput.style(StyledTextOutput.Style style)
Switches to a new style.
|
StyledTextOutput |
StyledTextOutput.text(Object text)
Appends text using the current style.
|
StyledTextOutput |
StyledTextOutput.withStyle(StyledTextOutput.Style style)
Creates a copy of this output which uses the given style.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
TextArea |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLineChoppingStyledTextOutput
A
StyledTextOutput that breaks text up into lines. |
class |
AbstractStyledTextOutput
Subclasses need to implement
AbstractStyledTextOutput.doAppend(String), and optionally AbstractStyledTextOutput.doStyleChange(org.gradle.logging.StyledTextOutput.Style). |
class |
BufferingStyledTextOutput
A
StyledTextOutput which buffers the content written to it, for later forwarding to another StyledTextOutput instance. |
class |
LinePrefixingStyledTextOutput
A
StyledTextOutput which prefixes each line of text with some fixed prefix. |
class |
LoggingBackedStyledTextOutput
A
StyledTextOutput implementation which generates events of type StyledTextOutputEvent. |
class |
StreamingStyledTextOutput
A
StyledTextOutput implementation which writes text to some char stream. |
| Modifier and Type | Method and Description |
|---|---|
StyledTextOutput |
AbstractStyledTextOutput.append(char c) |
StyledTextOutput |
AbstractStyledTextOutput.append(CharSequence csq) |
StyledTextOutput |
AbstractStyledTextOutput.append(CharSequence csq,
int start,
int end) |
StyledTextOutput |
AbstractStyledTextOutputFactory.create(Class logCategory) |
StyledTextOutput |
AbstractStyledTextOutputFactory.create(Class logCategory,
LogLevel logLevel) |
StyledTextOutput |
AbstractStyledTextOutputFactory.create(String logCategory) |
StyledTextOutput |
StreamingStyledTextOutputFactory.create(String logCategory,
LogLevel logLevel) |
StyledTextOutput |
DefaultStyledTextOutputFactory.create(String logCategory,
LogLevel logLevel) |
StyledTextOutput |
AbstractStyledTextOutput.exception(Throwable throwable) |
StyledTextOutput |
AbstractStyledTextOutput.format(String pattern,
Object... args) |
StyledTextOutput |
AbstractStyledTextOutput.formatln(String pattern,
Object... args) |
StyledTextOutput |
AbstractStyledTextOutput.println() |
StyledTextOutput |
AbstractStyledTextOutput.println(Object text) |
StyledTextOutput |
AbstractStyledTextOutput.style(StyledTextOutput.Style style) |
StyledTextOutput |
AbstractStyledTextOutput.text(Object text) |
StyledTextOutput |
AbstractStyledTextOutput.withStyle(StyledTextOutput.Style style) |
| Modifier and Type | Method and Description |
|---|---|
void |
StyledTextOutputEvent.render(StyledTextOutput output) |
abstract void |
RenderableOutputEvent.render(StyledTextOutput output)
Renders this event to the given output.
|
void |
LogEvent.render(StyledTextOutput output) |
void |
BufferingStyledTextOutput.writeTo(StyledTextOutput output)
Writes the buffered contents of this output to the given target, and clears the buffer.
|
| Constructor and Description |
|---|
LinePrefixingStyledTextOutput(StyledTextOutput output,
CharSequence prefix) |
StyledTextOutputBackedRenderer(StyledTextOutput textOutput) |
Copyright © 2013. All rights reserved