Documentation ¶
Overview ¶
Package kayvee provides methods to output human and machine parseable strings, with a "key=val" format.
## Example
Here's an example program that outputs a kayvee formatted string:
package main import( "fmt" "gopkg.in/Clever/kayvee.v0" ) func main() { fmt.Println(kayvee.Format(map[string]interface{}{"hello": "world"})) }
## Testing
Run `make test` to execute the tests ¶
## Change log
v0.0.1 - Initial release.
Index ¶
Constants ¶
View Source
const ( Unknown LogLevel = "unknown" Critical = "critical" Error = "error" Warning = "warning" Info = "info" Trace = "trace" )
Constants used to define different LogLevels supported
Variables ¶
View Source
var Version = "5.2.0"
Version is a string containing the version of this library.
Functions ¶
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package middleware provides a customizable Kayvee logging middleware for HTTP servers.
|
Package middleware provides a customizable Kayvee logging middleware for HTTP servers. |
Click to show internal directories.
Click to hide internal directories.