C# Class Ipfs.Commands.IpfsLog

Inheritance: Ipfs.Json.IpfsCommand
Mostrar archivo Open project: TrekDev/net-ipfs-api

Public Methods

Method Description
Level ( string subsystem, IpfsLogLevel level ) : Task

Change the logging level 'ipfs log level' is a utility command used to change the logging output of a running daemon.

Tail ( ) : Task

Read the logs 'ipfs log tail' is a utility command used to read log output as it is written.

Private Methods

Method Description
IpfsLog ( Uri commandUri, HttpClient httpClient, IJsonSerializer jsonSerializer ) : Ipfs.Json

Method Details

Level() public method

Change the logging level 'ipfs log level' is a utility command used to change the logging output of a running daemon.
public Level ( string subsystem, IpfsLogLevel level ) : Task
subsystem string the subsystem logging identifier. Use 'all' for all subsystems.
level IpfsLogLevel one of: debug, info, notice, warning, error, critical
return Task

Tail() public method

Read the logs 'ipfs log tail' is a utility command used to read log output as it is written.
public Tail ( ) : Task
return Task