Skip to content

Conversation

@zenzenless
Copy link

Sometimes we need to view the full file path, so i add an environment configuration item to configure

// full: /full/path/to/package/file:line format.
// short: package/file:line format, trimming all but the final directory from the full path.
envLoggingCallerFormat = "GOLOG_LOG_CALLER_FORMAT" // possible values: full|short

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant