Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20210427] @Slf4j, IntelliJ 한글입력 안될때 설정 #110

Open
JuHyun419 opened this issue Apr 27, 2021 · 0 comments
Open

[20210427] @Slf4j, IntelliJ 한글입력 안될때 설정 #110

JuHyun419 opened this issue Apr 27, 2021 · 0 comments
Labels
IDE Integration Development Environment Spring

Comments

@JuHyun419
Copy link
Owner

JuHyun419 commented Apr 27, 2021

@slf4j 어노테이션

  • Slf4j는 로깅에 대한 추상 레이어를 제공하는 인터페이스의 모음 (로깅 Facade)
  • 로그를 남기기 위해 아래와 같이 Logger 변수 선언없이 어노테이션으로 편하게 사용이 가능
private static final Logger log = LoggerFactory.getLogger(InflearnCrawling.class);

@Slf4j 사용  아래처럼 변환(log 변수)

// generate
public class LogExample {
     private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LogExample.class);
}

@Slf4j
@RestController
public class Controller {
    ...
    log.info("로그");

IntelliJ 한글 입력 안될때 설정

  • IntelliJ Help > Edit Custom VM Options... > 아래 코드 추가 후 재실행
-Dauto.disable.input.methods=false
@JuHyun419 JuHyun419 changed the title [20210427] @Slf4j [20210427] @Slf4j, IntelliJ 한글입력 안될때 설정 Apr 27, 2021
@JuHyun419 JuHyun419 added the IDE Integration Development Environment label Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE Integration Development Environment Spring
Projects
None yet
Development

No branches or pull requests

1 participant