Change logging format.
Does what it says on the tin
This commit is contained in:
parent
b2d8bff4f9
commit
13e6efd89e
2 changed files with 6 additions and 6 deletions
|
@ -6,16 +6,16 @@ public final class PhabricatorAgentLogger implements IPhabricatorPluginLogger {
|
|||
|
||||
@Override
|
||||
public void info(String message) {
|
||||
Loggers.AGENT.info(String.format("Phabricator Plugin: %s", message));
|
||||
Loggers.AGENT.info(String.format("Phabricator Plugin - %s", message));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void warn(String message, Exception e) {
|
||||
Loggers.AGENT.warn(String.format("Phabricator Plugin: %s", message), e);
|
||||
Loggers.AGENT.warn(String.format("Phabricator Plugin - %s", message), e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void error(String message, Exception e) {
|
||||
Loggers.AGENT.error(String.format("Phabricator Plugin: %s", message), e);
|
||||
Loggers.AGENT.error(String.format("Phabricator Plugin - %s", message), e);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,16 +6,16 @@ public final class PhabricatorServerLogger implements IPhabricatorPluginLogger {
|
|||
|
||||
@Override
|
||||
public void info(String message) {
|
||||
Loggers.SERVER.info(String.format("Phabricator Plugin: %s", message));
|
||||
Loggers.SERVER.info(String.format("Phabricator Plugin - %s", message));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void warn(String message, Exception e) {
|
||||
Loggers.SERVER.warn(String.format("Phabricator Plugin: %s", message), e);
|
||||
Loggers.SERVER.warn(String.format("Phabricator Plugin - %s", message), e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void error(String message, Exception e) {
|
||||
Loggers.SERVER.error(String.format("Phabricator Plugin: %s", message), e);
|
||||
Loggers.SERVER.error(String.format("Phabricator Plugin - %s", message), e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue