command
Version:
v1.0.8
Opens a new window with list of versions in this module.
Published: Jan 22, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Logs-lib HTTP Example
To run the example, simply type:
go run server.go
List all registered loggers and their current log level via HTTP GET:
curl localhost:8080/list
Modify log level remotely via HTTP POST:
curl localhost:8080/set/{loggerName}/{logLevel}
Documentation
¶
Example "http" demonstrates how to change the log level remotely via REST.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.