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 |
31 |
Tags
- 줄바꿈
- 몇초후동작
- 패키지명으로
- not found
- 다음줄
- Android
- 앱이름
- 권한요청
- 씨샵
- 동작이벤트
- 404에러
- ACCESS_FINE_LOCATION
- 500에러
- 일정시간후
- 어플이름
- 지연시간처리
- count 0
- packagename
- 앱이름가져오기
- 짤림
- 안드로이드
- 지연시간
- 패키지명
- logcat
- 로그잘림
- httpstatus
- 마시멜로
- 마쉬멜로우
- permission
- Runtime
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 |