Skip to content

Instantly share code, notes, and snippets.

@edengal
Created July 19, 2019 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edengal/a1b2c8f0f94d359985d50bdf55c8acd4 to your computer and use it in GitHub Desktop.
Save edengal/a1b2c8f0f94d359985d50bdf55c8acd4 to your computer and use it in GitHub Desktop.
public boolean auth(String token, String timbermillParentId){
TimberLogger.start("authenticate", timbermillParentId, LogParams.create().string("token", token));
try {
...
TimberLogger.logString("isAuthorized", isAuthorized);
return isAuthorized;
} catch (Throwable t){
TimberLogger.error(t);
throw t;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment