refactor(client): убрать deprecated-теги с package-level логгеров

cmd/client — однопроцессный CLI; package-level Log+SetLogger остаётся
каноническим API. captcha.Solve по-прежнему принимает явный логгер для DI.
Также осовременен backoffSteps через min().
This commit is contained in:
samosvalishe committed 2026-05-21 01:20:54 +03:00
1 parent 5735b4a297
commit 6b8b82f530
3 files changed
+2 -20

No files matched your search

-6
View File
@@ -27,15 +27,9 @@ import (
// Log is the package-level logger. Defaults to no-op; main wires it via
// SetLogger so DNS-mode output respects the global -debug flag and levels.
//
// Deprecated: dnsdial is a procedural package with global state; a future
// refactor should thread a logger through AppDialer/InstallGlobalResolver.
// SetLogger remains for backward compatibility.
var Log logx.Logger = logx.Nop()
// SetLogger installs a logger for this package.
//
// Deprecated: prefer threading a logx.Logger through AppDialer.
func SetLogger(l logx.Logger) { Log = logx.OrNop(l) }
const (