ISharePointCommandLogger 인터페이스

SharePoint 명령의 로깅 서비스를 나타냅니다.

네임스페이스:  Microsoft.VisualStudio.SharePoint.Commands
어셈블리:  Microsoft.VisualStudio.SharePoint.Commands(Microsoft.VisualStudio.SharePoint.Commands.dll)

구문

‘선언
Public Interface ISharePointCommandLogger
public interface ISharePointCommandLogger

메서드

  이름 설명
Public 메서드 WriteLine(String, LogCategory) 지정된 범주를 사용하여 출력 창 또는 오류 목록 창에 메시지를 씁니다.
Public 메서드 WriteLine(String, LogCategory, String) 지정된 범주와 도움말 키워드를 사용하여 출력 창 또는 오류 목록 창에 메시지를 씁니다.
Public 메서드 WriteLine(String, LogCategory, String, Int32, Int32) 지정된 범주와 오류 위치 정보를 사용하여 출력 창 또는 오류 목록 창에 메시지를 씁니다.
Public 메서드 WriteLine(String, LogCategory, String, Int32, Int32, String) 지정된 범주, 오류 위치 정보 및 도움말 키워드를 사용하여 출력 창 또는 오류 목록 창에 메시지를 씁니다.

위쪽

설명

로깅 서비스를 사용하면 SharePoint 명령으로 출력 창 또는 오류 목록 창에 메시지를 쓸 수 있습니다.

출력 창에서 모든 메시지는 배포 확장에서 메시지를 작성할 때를 제외하고 SharePoint도구 출력 창에 쓰여집니다. 배포 확장에서는 메시지가 빌드 출력 창에 기록됩니다.

참고 항목

참조

Microsoft.VisualStudio.SharePoint.Commands 네임스페이스

기타 리소스

SharePoint 개체 모델 호출

방법: SharePoint 명령 만들기