Skip to content

Commit

Permalink
Refactoring (injecting log streams to allow for more automatic wiring…
Browse files Browse the repository at this point in the history
… by container).
  • Loading branch information
ansgarkonermann committed May 6, 2011
1 parent a01c55b commit 86829f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public TestNGLogger(org.testng.log4testng.Logger logger) {
this.logger = logger;
}

public TestNGLogger log(String message) {
public TestNGLogger write(String message) {
stringBuffer.append(message);
if (message.endsWith(NEWLINE)) {
return nl();
Expand Down

0 comments on commit 86829f1

Please sign in to comment.