
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
MetroLog is a lightweight logging framework designed for portable code and WinJS. Although the API is based on NLog and log4net, the intention is that it's a very basic logging system. This version targets .NET Core, .NET 4.5, Windows 8.1 (Windows Store apps), Windows Phone 8, WinPhone 8.1, WinJS, Xamarin.iOS, Xamarin.Android
As WinRT isn't fully supported in NuGet yet, you'll need to manually add a reference to the MetroLog.WinRT.winmd file in your \packages\MetroLog.*\netcore45 directory. Just add the reference to the WinMD file, not anything else in the directory.
TypeScript definitions are provided as content in the package as well.
To hook up the debug logger to your WinJS console, in your default.js file, add the following at the top, right under 'var nav = WinJS.Navigation;'
MetroLog.WinRT.Logger.addEventListener("onlogmessage", function(message) { Debug.writeln(message); });
Then, in each module/js file you can add the following, putting in a useful name for the logger, such as the relative file name.
var logger = MetroLog.WinRT.Logger.getLogger("pages/myfile.js");
FAQs
MetroLog is a lightweight logging framework designed for portable code and WinJS. Although the API is based on NLog and log4net, the intention is that it's a very basic logging system. This version targets .NET Core, .NET 4.5, Windows 8.1 (Windows Store apps), Windows Phone 8, WinPhone 8.1, WinJS, Xamarin.iOS, Xamarin.Android
We found that metrolog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.