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.

Relates to #162 and maybe even #95

Are there any plans to open up the Logger: https://github.com/Mpdreamz/bullseye/blob/master/Bullseye/Internal/Logger.cs#L12

More wondering out of my obsessive need to tinker rather than a real use case. In this case I would love to control how the tasks get ouput using something fancier then / to separate the chain.

If exceptions would flow to the logger in the future (#162) I would love to provide diagnosers for known exceptions though.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Mpdreamzcommented, Nov 27, 2018

Personally I find the “back and forth” quite distracting

I agree, thank you for exploring this 👍

I’m not sure the benefit of less scrolling is worth the cost of the added complexity in the Bullseye API

It’s definitely something I can let go of at this stage, will reopen if it becomes something I run into often.

0reactions
adamralphcommented, Nov 27, 2018

@Mpdreamz I gave the arrows a try, but I can’t say I’m hugely convinced. Personally I find the “back and forth” quite distracting:

Regarding controlling the message prefix, I’m not sure it will really buy you much. Consider:

FooSolution/build: Starting...
.
.
.
(large amount of output from dotnet build)
.
.
.
FooSolution/build: Succeeded
FooSolution/test: Starting...
.
.
.
(large amount of output from dotnet test)
.
.
.
FooSolution/test: Succeeded

vs

=== FooSolution start ===    // your own log message
Bullseye/build: Starting...
.
.
.
(large amount of output from dotnet build)
.
.
.
Bullseye/build: Succeeded.
Bullseye/test: Starting...
.
.
.
(large amount of output from dotnet test)
.
.
.
Bullseye/test: Succeeded.
=== FooSolution end ===    // your own log message

Sure, you get “FooSolution” a little more often, but you’re going to have to do some scrolling in both cases. I’m not sure the benefit of less scrolling is worth the cost of the added complexity in the Bullseye API.

What do you think?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Implement a custom logging provider - .NET
In this article, you'll learn how to implement a custom logging provider that can be used to colorize logs in the console.
Read more >
custom-logger
custom -logger is a simple, highly customizable logging plugin for node.js. ... If you have any questions or feedback, or need any help...
Read more >
.NET Logging Guide: Part 4 - Custom Logging Providers - ...
Custom loggers are unique classes or functions for handling message logging from a single module or section of an application. They enable ...
Read more >
Customized Logging in Python with Examples
In this article, I am going to discuss Customized Logging in Python with examples. Loggers are the objects of the logging module with...
Read more >
Creating custom logger
You can create a custom logger in the ACM environment. Procedure. Open the log4j2.xml file. This file is located in the $TOP/etc ...
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