C# Class GoogleCloudSamples.LogTicker

A singleton that sends log messages to listening clients.
Inheritance: ISimpleLogger
显示文件 Open project: GoogleCloudPlatform/getting-started-dotnet

Private Properties

Property Type Description
LogTicker System

Public Methods

Method Description
GetLastMessage ( ) : string

Get the most recent message written to the log.

LogError ( string message, Exception e ) : void
LogVerbose ( string message ) : void

Private Methods

Method Description
LogTicker ( IHubConnectionContext clients ) : System

Method Details

GetLastMessage() public method

Get the most recent message written to the log.
public GetLastMessage ( ) : string
return string

LogError() public method

public LogError ( string message, Exception e ) : void
message string
e System.Exception
return void

LogVerbose() public method

public LogVerbose ( string message ) : void
message string
return void