Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupLogger ¶
func SetupLogger()
Types ¶
type ConsoleHandler ¶ added in v0.40.0
type ConsoleHandler struct {
// contains filtered or unexported fields
}
ConsoleHandler is slog handler that formats logs as:
caller > msg key=val key=val
If no caller attribute present, just outputs msg with attrs.
func NewConsoleHandler ¶ added in v0.40.0
func NewConsoleHandler(out io.Writer, level slog.Level) *ConsoleHandler
Directories
¶
| Path | Synopsis |
|---|---|
|
SPDX-License-Identifier: MPL-2.0 SPDX-FileCopyrightText: Copyright (c) 2024, Emir Aganovic
|
SPDX-License-Identifier: MPL-2.0 SPDX-FileCopyrightText: Copyright (c) 2024, Emir Aganovic |
|
dtls
|
|
|
dtls_client
command
|
|
|
dtls_server
command
|
|
|
client
command
|
|
|
server
command
|
|
|
SPDX-License-Identifier: MPL-2.0 SPDX-FileCopyrightText: Copyright (c) 2024, Emir Aganovic
|
SPDX-License-Identifier: MPL-2.0 SPDX-FileCopyrightText: Copyright (c) 2024, Emir Aganovic |
Click to show internal directories.
Click to hide internal directories.