Skip to content

Commit 236e373

Browse files
author
Ivan Carballo
committed
Merge pull request ribot#19 from subsymbolic/master
Minor suggestion for TAG strings
2 parents 2ace234 + a23f4fb commit 236e373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_and_code_guidelines.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ As a general rule, we use the class name as tag and we define it as a `static fi
283283

284284
```java
285285
public class MyClass {
286-
private static final String TAG = "MyClass";
286+
private static final String TAG = MyClass.class.getSimpleName();
287287

288288
public myMethod() {
289289
Log.e(TAG, "My error message");

0 commit comments

Comments
 (0)