View Source MyspaceIPFS.Log (Myspace IPFS v0.2.0-alpha.1)
MyspaceIPFS.Log is where the log commands of the IPFS API reside.
Link to this section Summary
Functions
Change the logging level.
List the logging subsystems.
Read the event log. Currently broken. See https://github.com/ipfs/kubo/issues/9245
Link to this section Functions
@spec level(binary(), binary()) :: {:ok, any()} | MyspaceIPFS.Api.error_response()
Change the logging level.
parameters
Parameters
https://docs.ipfs.io/reference/http/api/#api-v0-log-level
subsys
- Subsystem logging identifier.
level
- Logging level.
@spec ls() :: {:ok, any()} | MyspaceIPFS.Api.error_response()
List the logging subsystems.
@spec tail(pid()) :: {:ok, pid()} | :ok | MyspaceIPFS.Api.error_response()
Read the event log. Currently broken. See https://github.com/ipfs/kubo/issues/9245