mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
further collector refactoring, add logging to metrics subpackage
This commit is contained in:
@@ -2,8 +2,12 @@ package metrics
|
||||
|
||||
import (
|
||||
"math"
|
||||
|
||||
"github.com/bcicen/ctop/logging"
|
||||
)
|
||||
|
||||
var log = logging.Init()
|
||||
|
||||
type Metrics struct {
|
||||
CPUUtil int
|
||||
NetTx int64
|
||||
|
||||
Reference in New Issue
Block a user