C# Class PlayFab.Public.PlayFabLoggerBase

This is some unity-log capturing logic, and threading tools that allow logging to be caught and processed on another thread
Inheritance: IPlayFabLogger
Afficher le fichier Open project: PlayFab/PlayFab-Samples

Méthodes publiques

Méthode Description
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void

Méthodes protégées

Méthode Description
BeginUploadLog ( ) : void

Logs are cached and written in bursts BeginUploadLog is called at the begining of each burst

EndUploadLog ( ) : void

Logs are cached and written in bursts EndUploadLog is called at the end of each burst

PlayFabLoggerBase ( ) : System
UploadLog ( string message ) : void

Logs are cached and written in bursts UploadLog is called for each cached log, between BeginUploadLog and EndUploadLog

Private Methods

Méthode Description
ActivateThreadWorker ( ) : void
HandleUnityLog ( string message, string stacktrace, LogType type ) : void

Handler to process Unity logs into our logging system

RegisterLogger ( ) : IEnumerator
WriteLogThreadWorker ( ) : void

Method Details

BeginUploadLog() protected abstract méthode

Logs are cached and written in bursts BeginUploadLog is called at the begining of each burst
protected abstract BeginUploadLog ( ) : void
Résultat void

EndUploadLog() protected abstract méthode

Logs are cached and written in bursts EndUploadLog is called at the end of each burst
protected abstract EndUploadLog ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnDisable() public méthode

public OnDisable ( ) : void
Résultat void

OnEnable() public méthode

public OnEnable ( ) : void
Résultat void

PlayFabLoggerBase() protected méthode

protected PlayFabLoggerBase ( ) : System
Résultat System

UploadLog() protected abstract méthode

Logs are cached and written in bursts UploadLog is called for each cached log, between BeginUploadLog and EndUploadLog
protected abstract UploadLog ( string message ) : void
message string
Résultat void