headscale/hscontrol/util
nadongjun fdc034e8ae
Integrate GORM Logger with Zerolog and Add Configuration Options for Logging and Performance (#2040)
* Integrate GORM logger with zerolog and add custom GORM configuration options

* Add GormConfig struct to group GORM-related settings

* Update debug mode instruction in config-example.yaml

Co-authored-by: Kristoffer Dalby <kristoffer@dalby.cc>

---------

Co-authored-by: Kristoffer Dalby <kristoffer@dalby.cc>
2024-08-19 11:47:52 +02:00
..
addr_test.go use cmp.Diff instead of reflect.DeepEqual 2023-07-01 21:55:47 +02:00
addr.go Split code into modules 2023-05-26 12:24:50 +02:00
const.go Split code into modules 2023-05-26 12:24:50 +02:00
dns_test.go Migrate IP fields in database to dedicated columns (#1869) 2024-04-17 07:03:06 +02:00
dns.go Migrate IP fields in database to dedicated columns (#1869) 2024-04-17 07:03:06 +02:00
file.go improve errors for missing directories (#1765) 2024-02-17 13:36:19 +01:00
key.go remove the use key stripping and store the proper keys (#1603) 2023-11-16 17:55:29 +01:00
log.go Integrate GORM Logger with Zerolog and Add Configuration Options for Logging and Performance (#2040) 2024-08-19 11:47:52 +02:00
net.go create DB struct 2023-05-26 12:24:50 +02:00
string_test.go create DB struct 2023-05-26 12:24:50 +02:00
string.go remove custom contains funcs for slices.Contains (#2015) 2024-07-19 09:04:04 +02:00
test.go Add assert func for verifying status, netmap and netcheck (#1723) 2024-02-09 07:26:41 +01:00
util_test.go Get integration test netmap from watch-ipn command (#1729) 2024-02-18 23:22:18 +01:00
util.go Get integration test netmap from watch-ipn command (#1729) 2024-02-18 23:22:18 +01:00