Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for appname #2

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Fixed Whitespace issues

  • Loading branch information
varshneyjayant committed Aug 12, 2015
commit 85da1ab8ad6900b5fc2e0524f75a288566cd1131
@@ -209,8 +209,8 @@ private String toJson(int level, String message, Object... args) {

private String toJson(Level level, String message, Object... args) {
return String.format("{\"level\": \"%1$s\", \"message\": \"%2$s\",\"appName\" : \"%3$s\"}",
level,
String.format(message, args).replace("\"", "\\\""), String.format(appName).replace("\"", "\\\""));
level,
String.format(message, args).replace("\"", "\\\""), String.format(appName).replace("\"", "\\\""));
}

/**
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.