C# 클래스 UnityPlatformer.Log

Log to file
파일 보기 프로젝트 열기: llafuente/unity-platformer

공개 프로퍼티들

프로퍼티 타입 설명
level LogLevel
streamWriter System.IO.StreamWriter

보호된 프로퍼티들

프로퍼티 타입 설명
_instance Log

공개 메소드들

메소드 설명
Debug ( string format ) : void

Log debug message

Error ( string format ) : void

Log an error message

Info ( string format ) : void

Log an info message

SetLevel ( LogLevel lvl ) : void
Silly ( string format ) : void

Log silly

Verbose ( string format ) : void

Log verbose

Warning ( string format ) : void

Log a warning message

Write ( LogLevel lvl, string s ) : void

Write to file

보호된 메소드들

메소드 설명
Log ( ) : UnityEngine

protected constructor for Singleton usage

메소드 상세

Debug() 정적인 공개 메소드

Log debug message
static public Debug ( string format ) : void
format string
리턴 void

Error() 정적인 공개 메소드

Log an error message
static public Error ( string format ) : void
format string
리턴 void

Info() 정적인 공개 메소드

Log an info message
static public Info ( string format ) : void
format string
리턴 void

Log() 보호된 메소드

protected constructor for Singleton usage
protected Log ( ) : UnityEngine
리턴 UnityEngine

SetLevel() 정적인 공개 메소드

static public SetLevel ( LogLevel lvl ) : void
lvl LogLevel
리턴 void

Silly() 정적인 공개 메소드

Log silly
static public Silly ( string format ) : void
format string
리턴 void

Verbose() 정적인 공개 메소드

Log verbose
static public Verbose ( string format ) : void
format string
리턴 void

Warning() 정적인 공개 메소드

Log a warning message
static public Warning ( string format ) : void
format string
리턴 void

Write() 정적인 공개 메소드

Write to file
static public Write ( LogLevel lvl, string s ) : void
lvl LogLevel
s string
리턴 void

프로퍼티 상세

_instance 보호되어 있는 정적으로 프로퍼티

real instance
protected static Log _instance
리턴 Log

level 공개적으로 프로퍼티

Current log level
public LogLevel level
리턴 LogLevel

streamWriter 공개적으로 프로퍼티

file instance
public StreamWriter,System.IO streamWriter
리턴 System.IO.StreamWriter