C# Class GoogleCloudSamples.LoggingSample

Exibir arquivo Open project: GoogleCloudPlatform/dotnet-docs-samples Class Usage Examples

Private Properties

Property Type Description
CreateSink void
DeleteLog void
DeleteSink void
ListLogEntries void
ListSinks void
UpdateSinkLog void
WriteLogEntry void

Public Methods

Method Description
Main ( string args ) : int
PrintUsage ( ) : bool
Run ( string args ) : int

Private Methods

Method Description
CreateSink ( string sinkId, string logId ) : void
DeleteLog ( string logId ) : void
DeleteSink ( string sinkId ) : void
ListLogEntries ( string logId ) : void
ListSinks ( ) : void
UpdateSinkLog ( string sinkId, string logId ) : void
WriteLogEntry ( string logId, string message ) : void

Method Details

Main() public static method

public static Main ( string args ) : int
args string
return int

PrintUsage() public method

public PrintUsage ( ) : bool
return bool

Run() public method

public Run ( string args ) : int
args string
return int