google/error-prone
Catch common Java mistakes as compile-time errors
https://skillcdn.ai/gh/google/error-prone내 AI에 이 주소를 연결하면 이 스킬들을 쓸 수 있어요. 연결 방법 보기
- 미확인
- 기본 브랜치
master - 커밋
1a82c75 - 라이선스
Apache-2.0
저장소 둘러보기
스킬과 문서의 원문에서 찾습니다. 화면용 번역은 검색되지 않아요.
문서
- FloggerLogString.mdOnly compile-time constants may be passed to log(String); use one of the formatting log methods with a constant format string if at all possible.docs/bugpattern/flogger/FloggerLogString.md
- FloggerLogWithCause.mdWhen using a logger as error handling, setting the exception as the cause of the log statement will provide more context in the log message.docs/bugpattern/flogger/FloggerLogWithCause.md
- FloggerRedundantIsEnabled.mdGuarding flogger log statements with an explicit log level check is redundant, since the log statement already contains the desired log level and is inexpensive to evaluate if the specified log level…docs/bugpattern/flogger/FloggerRedundantIsEnabled.md
- FloggerWithoutCause.mdFlogger uses withCause(exception) to associate Exceptions with log statements. Passing exceptions directly to log() only records the name and message, and loses the stack trace.docs/bugpattern/flogger/FloggerWithoutCause.md