package
0.0.0-20210718062109-496be73d0ac7
Repository: https://github.com/piyuo/libsrv.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CustomError write error and stack direct to database stack format like at firstLine (a.js:3) at secondLine (b.js:3) CustomError(ctx, "hi error", stack) .
Debug only print message when os.Getenv("DEBUG") is define Debug(ctx,"server start") .
Error log error to google cloud and return error id, return empty if error not logged stack format like at firstLine (a.js:3) at secondLine (b.js:3) Error(ctx, err) .
Error log error to google cloud and return error id, return empty if error not logged stack format like at firstLine (a.js:3) at secondLine (b.js:3) Error(ctx, err) .
ForceStopLog set to true will stop log .
History get log history in string History() .
Info as Normal but significant events, such as start up, shut down, or a configuration change.
KeepHistory keep all printed log into history KeepHistory(true) .
PrettyPrint pretty-prints its operands and writes to standard output.
PrettyValue return pretty print string .
ResetHistory reset history ResetHistory() .
Warn as Warning events might cause problems.