1
0
Fork 0

Change logging format.

Does what it says on the tin
This commit is contained in:
Steven Cooney 2019-05-31 14:45:52 +01:00
parent b2d8bff4f9
commit 13e6efd89e
2 changed files with 6 additions and 6 deletions

View file

@ -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);
}
}

View file

@ -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);
}
}