Best of Logging2023

  1. 1
    Article
    Avatar of devtoDEV·3y

    Unlocking JavaScript Design Patterns: Mastering Singleton for Ultimate Code Efficiency

    The Singleton pattern in JavaScript guarantees a single instance of a class and provides a global point of access to that instance. It is useful for managing shared resources or controlling access to a single point, such as a logging system. Implementing the Singleton pattern for logging in a JavaScript application offers centralized logging, consistency in working with the logger instance, and easy integration into code. Mastering the Singleton pattern can enhance the organization, maintainability, and efficiency of JavaScript applications.

  2. 2
    Article
    Avatar of tilThis is Learning·3y

    Backend development is more than writing endpoints for frontend

    Backend development is a crucial part of web development that involves creating and maintaining the logic, functionality and data of a website or an application. Backend developers are responsible for writing backend code that communicates with the frontend, the server and the database. They also ensure that the backend code is secure, scalable, reliable and efficient.

  3. 3
    Article
    Avatar of communityCommunity Picks·3y

    5 Tips to Speed Up Your Node.js Performance

    Node.js is known as event-driven I/O server-side JavaScript environment and single-threaded event loop based on V8 Engine ( Google’s open-source high-performance JavaScript engine) In this article, we will discuss 5 ways to make Node.JS faster and optimal in work.

  4. 4
    Article
    Avatar of appsignalAppSignal·3y

    Designing a Scalable Backend in Node.js

    Designing a Scalable Backend in Node.js.js will explore three scaling challenges in a fictional system written as user stories. We'll discuss useful tools for diagnosing the root causes of scaling issues, as well as techniques for alleviating bottlenecks and eliminating points of failure.

  5. 5
    Article
    Avatar of medium_jsMedium·3y

    Writing Production-Ready Code in Node.js

    Node.js is often used for building APIs and handling data-intensive operations and it works a charm for the same. Let’s discuss the NodeJS-specific tips for writing production-ready code.

  6. 6
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Handle Errors in React Applications

    Learn how to handle errors in React applications, including different types of errors, implementing global error handling, communicating errors to users, handling asynchronous errors, and logging errors for debugging.

  7. 7
    Article
    Avatar of communityCommunity Picks·3y

    Distributed Tracing: All you need to know to get started

    Distributed tracing is a method for tracking operations in a distributed system. It provides end-to-end visibility into microservices architecture. Tracing works through context propagation. Distributed tracing complements logging by providing more context about request flow. It is useful for troubleshooting, debugging, observability, operations, and testing. Developers and DevOps can use distributed tracing to improve their understanding of architectures and environments. OpenTelemetry is an industry standard for collecting distributed tracing data. Jaeger is a popular open source distributed tracing solution. Helios provides deep visualization for troubleshooting applications.

  8. 8
    Article
    Avatar of cloudnativedailyCloud Native Daily·3y

    Best Observability Tools for Microservices

    Microservices architecture has become popular among developers due to its scalability and flexibility. Helios Helios is an observability tool that offers comprehensive monitoring and analytics solutions for microservices and distributed applications. Lightstep Lightstep is a leading observability platform that helps to gain deep insights into the performance and behavior of microservices architectures.

  9. 9
    Article
    Avatar of amplicationAmplication·3y

    The Role of MicroGateways in Microservices

    Microservices have redefined how applications are planned, developed, and deployed. MicroGateways serve as a watchdog at the microservices level, addressing these complicated challenges and facilitating efficient communication. They offer the same basic benefits as traditional API Gateways, such as enhanced security, streamlined access control, optimized communication, and centralized logging.

  10. 10
    Article
    Avatar of mdnblogMDN Blog·2y

    Developer essentials: JavaScript console methods

    Explore the different methods and functionalities of the JavaScript console, including logging levels, creating tables, counting events, adding timers, grouping logs, creating traces, and clearing the console.

  11. 11
    Article
    Avatar of communityCommunity Picks·3y

    Frontend & creative coding

    An event that tracks those pesky gray bars 19. Jun 2023 Simple colorful logging in Node.js is an easy way to add some color to your node scripts. Mar 2023 Draw SVG rope using JavaScript 23.

  12. 12
    Article
    Avatar of lambdatestLambdaTest·3y

    A Complete Guide to Python End Parameter

    Learn how the Python end parameter can be used to control output formatting in test automation, including logging test results and formatting test reports.

  13. 13
    Article
    Avatar of medium_jsMedium·3y

    Must Know JavaScript API — Beacon API

    Beacon API is a new browser API provided by HTML5 that can be used to send data asynchronously in the background of the browser without affecting the loading and performance of the current page. With the Beacon API, developers can send data to the server when pages are unloaded or closed, thus enabling some monitoring and logging features.

  14. 14
    Article
    Avatar of communityCommunity Picks·3y

    Logging in Python: A Beginner's Guide

    Python provides us with a default root logger which is the topmost logger. By default, loggers in python follow a hierarchical order, where logs are propagated upwards to their parents until the log reaches the root logger. Handlers assist in the decision-making of whether to process a log message based on the log's priority.

  15. 15
    Article
    Avatar of itnextITNEXT·3y

    Using useMemo and useCallback to Save the Past from React Langoliers

    Using useMemo and useCallback to Save the Past from React Langoliers is an excellent article on how to avoid excess re-renders. Nadia Makarevich wrote the article after troubleshooting an issue in his team’s codebase with multiple redraws and APIs being called repeatedly.

  16. 16
    Article
    Avatar of bartwullemsThe Art of Simplicity·3y

    .NET 8–Http Logging

    ASP.NET Core in .NET 8 introduces new capabilities in the HTTP logging middleware, eliminating the need for Serilog to achieve similar results. These capabilities include measuring the duration of request/response processing and consolidating all enabled logs into one.

  17. 17
    Article
    Avatar of milanjovanovicMilan Jovanović·2y

    5 Serilog Best Practices For Better Structured Logging

    Learn 5 practical tips for better structured logging with Serilog, including using the configuration system, Serilog Request Logging, enriching logs with CorrelationId, logging important application events, and using Seq for local development.

  18. 18
    Article
    Avatar of hackernoonHacker Noon·3y

    Why JavaScript Developers Should Use the Debugger Instead of Console.log

    Why JavaScript Developers should use the Debugger instead of Console.log.log is a quick and easy way to output values to the console. It has its limitations - especially when it comes to debugging complex applications. This article is focused on the Javascript community but the idea can be applied to most of the existing languages.

  19. 19
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    How to Use Higher-Order Components in React

    In React, a higher-order component is a function that takes a component as an argument and returns a new component that wraps the original component. HOCs can take additional arguments, which lets you customize the behavior of the HOC. This makes them a flexible and reusable way to add functionality to your components.

  20. 20
    Article
    Avatar of dzDZone·3y

    API Gateway in Microservices Architecture

    API gateway simplifies managing microservices spread over multiple Kubernetes clusters and clouds. API gateway is a server (or L7 proxy) between a client and microservices that acts as a centralized entry point for all clients into the system. It is a reverse proxy that accepts client API calls and forwards them to the appropriate microservice.

  21. 21
    Article
    Avatar of semaphoreSemaphore·3y

    Docker Logging: 7 Best Practices

    Docker Logging is an essential aspect of operating containers in a production environment. It provides the capability to track and troubleshoot your applications. To make logging work well in Docker containers, you need to log the app, the host computer, and the Docker service.

  22. 22
    Article
    Avatar of earthlyEarthly·3y

    Mastering the Art of Logging in Python: A Complete Guide

    Python’s module provides a powerful and flexible framework for implementing logging in software applications. The logging logging module enables developers to log events at different levels of severity, control the format of log messages, and route logs to different destinations. Using the module, developers can easily integrate logging into their code and ensure that their applications are stable and reliable.

  23. 23
    Article
    Avatar of itnextITNEXT·3y

    4 container design patterns for Kubernetes

    Learn about 4 container design patterns for Kubernetes, including securing traffic with TLS and collecting logs from apps that log to a file.

  24. 24
    Article
    Avatar of discdotDiscover .NET·3y

    A more flexible and enhanced way of logging in .NET 8

    The latest version of .NET (version 8) introduces a more flexible and enhanced way of logging using the `LoggerMessageAttribute`. This attribute helps in defining logs and provides benefits like reduced code size and improved performance.

  25. 25
    Article
    Avatar of appsignalAppSignal·3y

    Tracking Errors in a Node.js Application

    Error tracking is a process where the abnormal behavior of your application is observed and monitored with the goal of fixing it before it affects end users. There are various ways to identify errors in a Node.js application: Callbacks Promises Try-Catch We'll use try-catch throughout this article.