C# Class UnityPlatformer.Log

Log to file
Afficher le fichier Open project: llafuente/unity-platformer

Méthodes publiques

Свойство Type Description
level LogLevel
streamWriter System.IO.StreamWriter

Protected Properties

Свойство Type Description
_instance Log

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Log ( ) : UnityEngine

protected constructor for Singleton usage

Method Details

Debug() static public méthode

Log debug message
static public Debug ( string format ) : void
format string
Résultat void

Error() static public méthode

Log an error message
static public Error ( string format ) : void
format string
Résultat void

Info() static public méthode

Log an info message
static public Info ( string format ) : void
format string
Résultat void

Log() protected méthode

protected constructor for Singleton usage
protected Log ( ) : UnityEngine
Résultat UnityEngine

SetLevel() static public méthode

static public SetLevel ( LogLevel lvl ) : void
lvl LogLevel
Résultat void

Silly() static public méthode

Log silly
static public Silly ( string format ) : void
format string
Résultat void

Verbose() static public méthode

Log verbose
static public Verbose ( string format ) : void
format string
Résultat void

Warning() static public méthode

Log a warning message
static public Warning ( string format ) : void
format string
Résultat void

Write() static public méthode

Write to file
static public Write ( LogLevel lvl, string s ) : void
lvl LogLevel
s string
Résultat void

Property Details

_instance protected_oe static_oe property

real instance
protected static Log _instance
Résultat Log

level public_oe property

Current log level
public LogLevel level
Résultat LogLevel

streamWriter public_oe property

file instance
public StreamWriter,System.IO streamWriter
Résultat System.IO.StreamWriter