Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- 지연시간처리
- not found
- 마시멜로
- Runtime
- httpstatus
- 앱이름
- Android
- 패키지명으로
- 안드로이드
- 줄바꿈
- 일정시간후
- logcat
- 마쉬멜로우
- 씨샵
- 로그잘림
- 404에러
- 동작이벤트
- permission
- packagename
- 지연시간
- 짤림
- count 0
- 앱이름가져오기
- 다음줄
- 어플이름
- 권한요청
- ACCESS_FINE_LOCATION
- 몇초후동작
- 500에러
- 패키지명
Archives
- Today
- Total
개발자의 백팩
[Android]로그가 길어서 짤렸을때! 본문
1
2
3
4
5
6
7
8
|
public void LogLineBreak(String str) {
if (str.length() > 3000) { // 텍스트가 3000자 이상이 넘어가면 줄
Log.i("e", str.substring(0, 3000));
LogLineBreak(str.substring(3000));
} else {
Log.i("e", str);
}
}
http://colorscripter.com/info#e" target="_blank" style="color:#4f4f4ftext-decoration:none">Colored by Color Scripter
|
http://colorscripter.com/info#e" target="_blank" style="text-decoration:none;color:white">cs |
'Android' 카테고리의 다른 글
[Android]SQL DB사용중 삽질 (0) | 2020.01.13 |
---|---|
[Android]지연시간 동작 Handler (0) | 2020.01.06 |
[Android]패키지명으로 라벨(앱 이름)얻어오기 (0) | 2019.07.04 |
[Android]안드로이드 6.0 마쉬멜로우 이상 권한요청 (0) | 2019.06.14 |
[Android]HttpStatus 정리 (0) | 2019.02.26 |