MCPcopy Create free account

hub / github.com/One-com/gone / functions

Functions816 in github.com/One-com/gone

↓ 58 callersMethodFatalf
(format string, v ...interface{})
log/interfaces.go:26
↓ 45 callersMethodClose
Close closes the pool and all its connections. After Close() the pool is no longer usable.
netutil/pool/pool.go:25
↓ 44 callersMethodFatal
(v ...interface{})
log/interfaces.go:25
↓ 42 callersMethodError
()
jconf/config.go:18
↓ 36 callersMethodDoes
Does returns whether the Logger would generate an event at this level? This can be used for optimal performance logging
log/gonelog.go:282
↓ 36 callersMethodPrintln
(v ...interface{})
log/interfaces.go:35
↓ 35 callersMethodlog
Unconditionally logs an event Some logging goes through here to keep the same number of stackframes for all calls to let newEvent() know how to do cod
log/gonelog.go:112
↓ 31 callersMethodString
()
hugorm/hugorm_test.go:266
↓ 25 callersFunctionGet
Get can retrieve any value given the key to use. Get is case-insensitive for a key. Get has the behavior of returning the value associated with the fi
hugorm/hugorm.go:447
↓ 25 callersFunctionLog
Log is used to log internal events if a LoggerFunc is set with SetLogger() You can call this your self if you need to. It's go-routine safe if the pro
daemon/log.go:39
↓ 24 callersFunction_availablefds
()
sd/file.go:103
↓ 20 callersMethodAdd
Add a member to the set.
metric/set.go:43
↓ 18 callersMethodFd
()
log/term/term.go:12
↓ 17 callersMethodWait
()
daemon/srv/server.go:65
↓ 17 callersFunctionitoa
*********************************************************************/ Cheap integer to fixed-width decimal ASCII. Give a negative width to avoid zer
log/format.go:222
↓ 16 callersMethodLog
(e Event)
log/handler.go:21
↓ 14 callersMethodFlush
Flush flushes the record values from the program internal Sink buffers.
metric/sink.go:18
↓ 13 callersMethodPrintf
(format string, v ...interface{})
log/interfaces.go:34
↓ 13 callersMethodRecordNumeric64
RecordNumeric64 is a performance optimation for recording 64-bit values using the num64 internal sub-package to create a "union" type for int/uint/flo
metric/sink.go:15
↓ 12 callersFunction_activefds
()
sd/file.go:95
↓ 12 callersMethodnewEvent
The primary event constructor. Creates a new log event. The event is timestamped if needed Code info file/line is recorded if needed KV data is gather
log/event.go:117
↓ 11 callersFunctionBindEnv
BindEnv binds a Hugorm key to a ENV variable. ENV variables are case sensitive. If only a key is provided, it will use the env key matching the key, u
hugorm/env.go:26
↓ 11 callersMethodClose
Close() will force all activity to stop.
daemon/server.go:38
↓ 11 callersMethodMarshal
(out io.Writer)
hugorm/hugorm.go:347
↓ 11 callersMethodPrefix
()
log/interfaces.go:48
↓ 11 callersMethodRegister
Register a Meter with the client, finding a flusher with the appropriate interval, if possible, else create a new flusher.
metric/client.go:180
↓ 10 callersFunctionReset
Reset is intended for testing, will reset all to default settings. In the public interface for the viper package so applications can use it in their t
hugorm/hugorm.go:66
↓ 10 callersMethodSet
(key string, value int, ttl time.Duration)
http/vtransport/upstream/rr/rrupstream.go:40
↓ 10 callersMethodStop
Stop a Client from flushing data. If any autoFlusher meters are still in use they will still flush when overflown.
metric/client.go:148
↓ 10 callersFunctionnormalize
Take a vararg list of arguments and make it a slice if it isn't already.
log/kv.go:24
↓ 9 callersMethodDoTime
DoTime tries to turn on or off timestamping. It can fail if some other go-routine simultaneous is manipulating the config. If the generated log-events
log/gonelog.go:192
↓ 9 callersMethodOutput
(calldepth int, s string)
log/interfaces.go:67
↓ 9 callersFunctionReset
Reset does a Cleanup() and makes the current Exported set of file descriptors available again as if they were inherited.
sd/file.go:142
↓ 9 callersFunctionisSocketInternal
-------------------------------------------------------------------- Generic function to test whether an fd is of a specific type and whether it's lis
sd/filetests.go:43
↓ 8 callersMethodListen
()
daemon/srv/server.go:50
↓ 8 callersMethodLoad
()
hugorm/hugorm.go:80
↓ 7 callersMethodGet
Get must return the value set, or negative if not found
http/vtransport/upstream/rr/rrupstream.go:42
↓ 7 callersFunctionInheritNamedListener
InheritNamedListener returns a net.Listener and its systemd name passing the tests (and name criteria) provided. If there's no inherited FD which can
sd/net.go:76
↓ 7 callersMethodListen
()
netutil/listen.go:10
↓ 7 callersMethodLog
Log is the simplest Logger method
log/api.go:8
↓ 7 callersFunctionNew
New will instantiate a logger with the same functionality (and limitations) as the std lib logger.
log/compat.go:11
↓ 7 callersMethodPrint
(v ...interface{})
log/interfaces.go:33
↓ 7 callersMethodServe
()
daemon/srv/server.go:44
↓ 7 callersMethodSwapHandler
(new Handler)
log/swapper_15.go:83
↓ 7 callersMethodUnmarshal
(rawVal interface{}, opts ...DecoderConfigOption)
hugorm/unmarshal.go:13
↓ 7 callersMethodWith
With ties a sub-context to the Logger and create a new logger which will log the supplied K/V values as context with every log event.
log/gonelog.go:166
↓ 7 callersMethodhandler
()
log/swapper_15.go:90
↓ 6 callersMethodDoingDefaultLevel
DoingDefaultLevel returns whether a log.Println() would actually generate a log event with the current config. It's equivalent to l.Does(l.DefaultLeve
log/gonelog.go:305
↓ 6 callersMethodERROR
ERROR - Log a message and optional KV values at syslog ERROR level.
log/api.go:95
↓ 6 callersFunctionExport
Export records a dup() of the file descriptor and makes it managed by the sd package, marked as in active use. Closing the object provided will not cl
sd/file.go:371
↓ 6 callersFunctionNewLogger
NewLogger creates a new unamed Logger out side of the named Logger hierarchy.
log/gonelog.go:81
↓ 6 callersFunctionSetDefault
TODO IsSet checks to see if the key has been set in any of the data locations. IsSet is case-insensitive for a key. func IsSet(key string) bool { retu
hugorm/hugorm.go:258
↓ 6 callersMethodSetFlags
(flags int)
log/swapper.go:35
↓ 6 callersMethodSetHandler
SetHandler atomically swaps in a different root of the Handler tree
log/gonelog.go:142
↓ 6 callersMethodSetLevel
SetLevel set the Logger log level. returns success
log/gonelog.go:248
↓ 6 callersMethodWrite
(b []byte)
log/writers.go:35
↓ 6 callersFunctioninitJSON
()
hugorm/hugorm_test.go:192
↓ 6 callersMethodinvalidateCache
------------- cache access --------------------
hugorm/hugorm.go:153
↓ 5 callersMethodALERT
--- ALERT - Log a message and optional KV values at syslog ALERT level.
log/api.go:79
↓ 5 callersMethodClone
(options ...HandlerOption)
log/swapper.go:26
↓ 5 callersMethodFlags
()
log/interfaces.go:47
↓ 5 callersMethodFlushReading
(Sink)
metric/meter.go:25
↓ 5 callersMethodLevel
Level returns the log level of the event
log/event.go:77
↓ 5 callersFunctionParseInto
ParseInto loads a JSON stream into a destination object, which is a datatype defined by the caller. It will ignore values in the file it can't fit int
jconf/config.go:27
↓ 5 callersMethodParseInto
(interface{})
jconf/subconfig.go:15
↓ 5 callersMethodReset
()
daemon/ctrl/example/accesslog.go:22
↓ 5 callersMethodSample
Sample records a new duration event.
metric/histotimer.go:48
↓ 5 callersFunctionSet
Set sets the value for the key in the override register. Set is case-insensitive for a key. Will be used instead of values obtained via flags, config
hugorm/hugorm.go:275
↓ 5 callersMethodSetOutput
(w io.Writer)
log/swapper.go:45
↓ 5 callersMethodSetPrefix
(prefix string)
log/swapper.go:40
↓ 5 callersFunctionaddrFunc
(family, sotype int)
sd/filetests.go:497
↓ 5 callersFunctiondeepCopyMap
deepCopyMap creates a independent copy of any map NB having both upper and lowercase versions of a key gives undefined results.
hugorm/util.go:27
↓ 5 callersFunctioninitSubModule
(cfg SubConfig)
jconf/subconfig_test.go:35
↓ 4 callersMethodAutoColoring
()
log/swapper.go:50
↓ 4 callersFunctionCleanup
Cleanup closes all inherited file descriptors which have not yet been used by clients of this library by a directly or indirect call to FileWith() The
sd/file.go:119
↓ 4 callersMethodConfig
()
hugorm/hugorm.go:408
↓ 4 callersMethodError
()
http/graceful/graceful.go:63
↓ 4 callersMethodFlush
flush all meters. Sync with the Flusher mutex
metric/flusher.go:177
↓ 4 callersMethodGet
Get returns a new connection from the pool. Closing the connections puts it back to the Pool. Closing it when the pool is destroyed or full will be co
netutil/pool/pool.go:21
↓ 4 callersMethodInc
Inc increased the counter by the supplied value
metric/counter.go:41
↓ 4 callersMethodIsTty
()
log/writers.go:14
↓ 4 callersMethodLog
Log is used by a MultiServer to log internal actions if a LoggerFunc is set. You can call this your self if you need to. It's go-routine safe if the p
daemon/srv/server.go:85
↓ 4 callersMethodName
()
metric/meter.go:24
↓ 4 callersFunctionNewMinFormatter
NewMinFormatter creates a standard formatter and applied the supplied options It will default log.LminFlags to provide simple <level>message logging
log/format.go:90
↓ 4 callersMethodRecord
Record a named value of any time with the Sink
metric/sink.go:8
↓ 4 callersMethodServe
Serve will call net/http.Server.Serve() on all listeners, closing the listeners when the context is canceled to make Serve() exit. This method exits w
http/server.go:65
↓ 4 callersMethodSetOptions
SetOptions sets options on a client - like the flush interval for metrics which haven't them selves a fixed flush interval
metric/client.go:77
↓ 4 callersMethodSetPrintLevel
SetPrintLevel sets the level which Print*() methods are logging with. "respect" indicated whether Print*() statements will respect the Logger loglevel
log/gonelog.go:265
↓ 4 callersMethodcasing
A few util functions
hugorm/hugorm.go:136
↓ 4 callersMethodsetSink
(sink Sink)
metric/flusher.go:50
↓ 3 callersFunctionAddConfigFrom
AddConfigFrom will parse the data in the provided io.Reader and append it to the config.
hugorm/hugorm.go:310
↓ 3 callersMethodAdhocGauge
AdhocGauge creates an ad-hoc gauge metric event. If flush is true, the sink will be instructed to flush data immediately
metric/client.go:305
↓ 3 callersMethodAdhocSetMember
AdhocSetMember creates an ad-hoc set membership event. If flush is true, the sink will be instructed to flush data immediately
metric/client.go:324
↓ 3 callersMethodDecLevel
DecLevel tries to decrease the log level
log/gonelog.go:233
↓ 3 callersMethodDial
Dial implements a Dial function like *net.Dialer
netutil/reaper/dialer.go:44
↓ 3 callersMethodDoCodeInfo
DoCodeInfo tries to turn on or off registering the file and line of the log call. Formatters which try to log this info will not give meaningful info
log/gonelog.go:207
↓ 3 callersFunctionForget
Forget makes the sd library forget about its file descriptor (made by Export) associated with either an exported object or a string naming a file desc
sd/file.go:329
↓ 3 callersMethodIncLevel
IncLevel tries to increase the log level
log/gonelog.go:219
↓ 3 callersFunctionNewStdFormatter
NewStdFormatter creates a standard formatter capable of simulating the standard library logger.
log/format.go:106
↓ 3 callersMethodPrintln
Println compatible with the standard lib logger
log/compat.go:88
next →1–100 of 816, ranked by callers