aboutsummaryrefslogtreecommitdiffstats
path: root/logging/host_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'logging/host_windows.go')
-rw-r--r--logging/host_windows.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/logging/host_windows.go b/logging/host_windows.go
new file mode 100644
index 0000000..6beaf7c
--- /dev/null
+++ b/logging/host_windows.go
@@ -0,0 +1,18 @@
+//go:build windows
+
+package logging
+
+import (
+ "context"
+ "errors"
+ "log/slog"
+)
+
+
+func NewHostSink(ctx context.Context, level slog.Level, tag string, encoder Encoder) (Sink, error) {
+ return nil, errors.ErrUnsupported
+}
+
+func IsDaemonManaged() bool {
+ return false
+}