Skip to content

feat: logger interface added#10

Closed
Pratham-Mishra04 wants to merge 1 commit into03-31-feat_image_inputs_addedfrom
03-31-feat_logger_interface_added
Closed

feat: logger interface added#10
Pratham-Mishra04 wants to merge 1 commit into03-31-feat_image_inputs_addedfrom
03-31-feat_logger_interface_added

Conversation

@Pratham-Mishra04
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator Author

Pratham-Mishra04 commented Apr 1, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_logger_interface_added branch from ea97f5e to 532c8bd Compare April 1, 2025 09:58
@Pratham-Mishra04 Pratham-Mishra04 changed the base branch from feature/03-21-base_structure_fixes to graphite-base/10 April 1, 2025 10:22
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_logger_interface_added branch from 532c8bd to ab539a1 Compare April 1, 2025 10:22
@Pratham-Mishra04 Pratham-Mishra04 changed the base branch from graphite-base/10 to 03-31-feat_image_inputs_added April 1, 2025 10:22
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_image_inputs_added branch from 8311c51 to c7d53f9 Compare April 1, 2025 11:00
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_logger_interface_added branch from ab539a1 to c60da1e Compare April 1, 2025 11:00
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_logger_interface_added branch from c60da1e to dfd98e6 Compare April 2, 2025 11:09
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_image_inputs_added branch from c7d53f9 to 6f05288 Compare April 2, 2025 11:09
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_logger_interface_added branch from dfd98e6 to a187eb8 Compare April 3, 2025 09:46
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_image_inputs_added branch 2 times, most recently from a48ced4 to 87d2329 Compare April 6, 2025 06:26
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_logger_interface_added branch from a187eb8 to 37a6f86 Compare April 6, 2025 06:26
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_logger_interface_added branch from 37a6f86 to bb49554 Compare April 6, 2025 16:16
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_image_inputs_added branch from 87d2329 to 9af5eb5 Compare April 7, 2025 04:08
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_logger_interface_added branch from bb49554 to 51ff3e1 Compare April 7, 2025 04:08
Comment thread bifrost.go Outdated
}

if logger == nil {
logger = NewDefaultLogger(interfaces.LogLevelInfo)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how do i change this log level for the default logger while initializing bifrost?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bifrost init takes only logger interface, so if wanna change the log level of the default logger, just pass bifrost.DefaultLogger{level:Info} to the logger interface in Bifrost Init. if nil is passed then it creates a default logger with info level

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haa but they need to know that they can utilize something called as a default logger, add it to the doc comments

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes yes

@Pratham-Mishra04 Pratham-Mishra04 changed the title feat: logger interface added Add logger interface and implementation Apr 7, 2025
@Pratham-Mishra04 Pratham-Mishra04 changed the title Add logger interface and implementation feat: logger interface added Apr 7, 2025
@Pratham-Mishra04 Pratham-Mishra04 mentioned this pull request Apr 9, 2025
@Pratham-Mishra04 Pratham-Mishra04 force-pushed the 03-31-feat_logger_interface_added branch 2 times, most recently from 25b5061 to 8b08515 Compare April 9, 2025 05:08
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.

2 participants