question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feature request] Make logging part configurable

See original GitHub issue

something like

public interface ILogSink
{
    bool IsEnabled(LogEventLevel level, string type);
    void Log(LogEventLevel level, string type, object? source, string messageTemplate);
    void Log(
      LogEventLevel level,
      string type,
      object? source,
      string messageTemplate,
      params object?[] propertyValues);
  }

and in SeeShark have a default console sink and then in the end user logic just implement a sink adapter and replace the default one to record logs.

Issue Analytics

  • State:open
  • Created 7 months ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Speykiouscommented, Mar 3, 2023

Ok, I’ll see what I can do. Ideally you’ll just need to setup a delegate, no need to create an interface.

0reactions
jcyuancommented, Mar 4, 2023

SeeShark 4 relies on the FFmpeg 5.0 LibAV* native libraries. In any case, if the versions aren’t correct, it’s going to tell you. So yeah you can just download them from the official website. But you need the libav dynamic libraries, not the ffmpeg executable.

nice one, thanks so much ❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request: Configurable logging options · Issue #159
With Feature Request #101 implemented this use case might be oboslete. But it depends on how the logging part will get implemented with...
Read more >
Feature request: Make log-level configurable in config.toml (#1049)
Right now log-level is only configurable as a commandline option in /etc/init/gitlab-runner.conf. This is cumbersome because this files gets overwritten on ...
Read more >
Config Manager Ticker App Feature Request - configurable ...
We recommend reviewing what is submitted before posting, in case your idea has already been submitted by another community member. If it has...
Read more >
Feature Request: syslog logging level
There have been numerous threads going back years asking to make the syslog logging level more configurable (vs only allowing INFO, WARN, and...
Read more >
Feature request: logging
Ideally, the logging mechanism is configurable (desitination, verbosity, etc) so it makes sense in the context of the rest of the application.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found