🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

CerberusClientLogging

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

CerberusClientLogging

Cerberus Client Logging: Secure and Versatile Logging Library for C# Cerberus Client Logging is a comprehensive and robust logging library specifically designed to provide secure and flexible logging capabilities for C# applications. With Cerberus, you can establish logging standards based on parameters, ensuring consistent and high-quality logging practices across small and enterprise projects. Additionally, Cerberus Client Logging encrypts and efficiently passes payloads to multiple pathways, including Azure Queues, Azure Service Bus, RabbitMQ Queues, RabbitMQ Topics, Kafka Streams, and upcoming support for databases. Key Features: - Parameter-based Logging Standards: Cerberus Client Logging enables developers to define and enforce logging standards based on customizable parameters. This ensures uniformity and ease of understanding throughout the codebase, facilitating collaboration and maintainability. - Payload Encryption: Cerberus prioritizes the security of your sensitive data by offering built-in payload encryption. By encrypting payloads before transmission, Cerberus ensures the confidentiality and integrity of your application's information. - Multi-Pathway Support: Cerberus empowers developers to transmit logs through various pathways. Whether you choose to utilize Azure Queues, Azure Service Bus, RabbitMQ Queues, RabbitMQ Topics, Kafka Streams, or plan to incorporate databases in the future, Cerberus seamlessly integrates with these technologies, granting you the freedom to select the optimal pathway for your project. - Scalable for Any Project Size: From small-scale applications to large enterprise systems, Cerberus adapts effortlessly to accommodate projects of any size. Its flexible architecture and efficient design enable consistent logging performance and scalability, regardless of the application's complexity. - Customizable Logging Parameters: Cerberus understands each project has unique logging requirements. Therefore, it provides extensive parameter customization options, allowing developers to fine-tune logging behavior and tailor it to their needs. - Easy Integration: Cerberus Client Logging integrates seamlessly with existing C# projects, minimizing the implementation effort and enabling developers to adopt it quickly without disrupting their development workflow. Use Cerberus Client Logging to establish secure, standardized logging practices in your C# projects. Boost your team's productivity and ensure the integrity of your application's logs while seamlessly integrating with popular technologies. Begin using Cerberus Client Logging today and experience the power of a comprehensive and versatile logging solution.

Source
nugetNuGet
Version
1.0.21
Version published
Maintainers
1
Created
Source

Cerbi Logging Suite

Cerbi is a modern, scalable logging solution designed for distributed systems and cloud environments. It combines logging, message routing, and metadata-driven insights into a unified, developer-friendly platform. Cerbi helps organizations achieve consistent, resource-efficient logging with built-in support for Business Intelligence (BI) and predictive analytics.

🔑 Key Features

CerbiStream (Logging Library)

  • Developer-Friendly API: Simple integration with minimal setup.
  • Metadata Capture: Automatically collects essential metadata (OS, framework, timestamp, cloud provider, region, etc.).
  • Protocol Support: Compatible with AMQP, HTTPS, REST, and more.
  • Queue Systems: Works with Azure Service Bus, RabbitMQ, Kafka, and others.

CerbiLogIQ (Routing Service)

  • Dynamic Log Routing: Distributes logs to appropriate destinations, including:
    • Relational and NoSQL databases
    • Data lakes (Azure Blob Storage, S3, etc.)
    • Log aggregators (Splunk, Loggly)
  • Metadata Parsing: Enhances routing with intelligent metadata management.

CerbiSense (Analytics & Insights)

  • BI and Reporting: Integrated with tools like Power BI for visualization.
  • Predictive Analytics: Enables anomaly detection and performance insights.
  • Customizable Metadata Pools: Aggregates metadata across systems for better visibility.

🚀 Get Started

Installation

The CerbiStream logging library is available on NuGet:

dotnet add package cerberus-logger-interface

Visit the NuGet Package for details.

đź“– Usage

Configuration

Add the following to your appsettings.json:

{
  "Logging": {
    "ApplicationName": "MyApp",
    "DestinationType": "Azure_Queue",
    "LogLevel": "Information",
    "ConnectionString": "your_connection_string",
    "QueueName": "myapp-logs",
    "CloudProvider": "Azure",
    "Encryption": {
      "IsEnabled": true,
      "Algorithm": "AES-256"
    },
    "HostType": "Cloud",
    "Region": "East US"
  }
}

Minimal Logging

await logger.SendApplicationLogAsync(
    applicationMessage: "An error occurred.",
    currentMethod: nameof(MyMethod),
    logLevel: LogLevel.Error,
    log: "Detailed log message",
    hostType: HostType.Cloud,
    timestamp: DateTime.UtcNow,
    encryption: new Encryption { IsEnabled = true, Algorithm = "AES-256" },
    operatingSystem: RuntimeInformation.OSDescription,
    frameworkVersion: RuntimeInformation.FrameworkDescription
);

Full Logging

await logger.SendApplicationLogAsync(
    applicationMessage: "Transaction completed.",
    currentMethod: nameof(MyMethod),
    logLevel: LogLevel.Information,
    log: "Transaction details",
    hostType: HostType.Cloud,
    timestamp: DateTime.UtcNow,
    encryption: new Encryption { IsEnabled = true, Algorithm = "AES-256" },
    operatingSystem: RuntimeInformation.OSDescription,
    frameworkVersion: RuntimeInformation.FrameworkDescription,
    applicationName: "MyApp",
    platform: "Web",
    applicationVersion: "1.0.0",
    cloudProvider: CloudProvider.Azure,
    region: new Region { RegionName: "East US", Country: "USA" },
    traceId: Guid.NewGuid().ToString(),
    destination: new TransactionDestination { Name = "Database", Type = "SQL" },
    destinationType: TransactionDestinationTypes.Database
);

🏗️ Architecture Overview

CerbiStream provides a seamless logging and routing experience. CerbiLogIQ ensures that logs are routed intelligently, while CerbiSense provides analytics and predictions.

Architecture Diagram

Cerbi Architecture

  • CerbiStream: Captures and encrypts logs programmatically.
  • CerbiLogIQ: Manages and routes logs to downstream systems.
  • CerbiSense: Aggregates metadata for BI and predictive insights.

🛠️ Supported Platforms and Protocols

  • Languages: C#, Java, Python, Go, Node.js, Ruby
  • Queue Systems: RabbitMQ, Azure Service Bus, Kafka
  • Log Destinations: SQL/NoSQL databases, Splunk, Loggly, and more
  • Protocols: AMQP, HTTPS, REST

📝 License

Cerbi is licensed under the MIT License. See LICENSE for more information.

Keywords

C#

FAQs

Package last updated on 12 Jan 2025

Did you know?

Socket

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.

Install

Related posts