Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: in-code specification of logging settings #115

Closed
wants to merge 3 commits into from
Closed

feat: in-code specification of logging settings #115

wants to merge 3 commits into from

Conversation

tarbomb
Copy link
Collaborator

@tarbomb tarbomb commented Oct 3, 2022

Notice

  • I understand the code that I have edited, and have the means
    to test it before making changes to Concord.

What?

Add in-code specification of logging settings like logging level, filename, etc.

Why?

To satisfy issue #100

How?

I have done this by introducing two new main things:

  • A new structure (discord_settings)
  • A new function (discord_settings_init)

The discord_settings structure will hold all of the in-code settings that should be used to
initialize a new client, while discord_settings_init function will apply those settings and
initialize a new client.

Testing?

Currently, I have not written any sanity checks for the contents of the settings array. That will be done
at a later time.

@tarbomb tarbomb closed this by deleting the head repository Mar 12, 2023
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