feat(logger): add PICOCLAW_LOG_FILE env var for file-only logging
This commit is contained in:
1 parent
e4f4afcd4d
commit
155af28841
3 files changed
+66
No files matched your search
@@ -28,6 +28,8 @@ func agentCmd(message, sessionKey, model string, debug bool) error {
|
||||
return fmt.Errorf("error loading config: %w", err)
|
||||
}
|
||||
|
||||
logger.ConfigureFromEnv()
|
||||
|
||||
if debug {
|
||||
logger.SetLevel(logger.DEBUG)
|
||||
fmt.Println("🔍 Debug mode enabled")
|
||||
|
||||
Reference in new issue
Block a user