Cs.Logging
0.0.25
dotnet add package Cs.Logging --version 0.0.25
NuGet\Install-Package Cs.Logging -Version 0.0.25
<PackageReference Include="Cs.Logging" Version="0.0.25" />
paket add Cs.Logging --version 0.0.25
#r "nuget: Cs.Logging, 0.0.25"
// Install Cs.Logging as a Cake Addin #addin nuget:?package=Cs.Logging&version=0.0.25 // Install Cs.Logging as a Cake Tool #tool nuget:?package=Cs.Logging&version=0.0.25
Cs.Logging
Log interface for gameserver development.
The main purpose is to define an interface for writing log messages, and the actual log recording part requires users to connect by creating a LogProvider
directly.
It provides console or file logging output by default but does not guarantee performance or thread safety.
사내에서 사용하는 게임서버의 로그 작성 인터페이스 입니다.
로그를 쓰는 곳의 인터페이스를 정의하는 것이 주 목적입니다. 로그 메세지를 어디로 어떻게 쓸것인지는 사용하는 쪽에서 직접 LogProvider
를 만들어 연결해 주어야 합니다.
기본적으로 콘솔이나 파일로 출력하는 기능을 제공하지만 성능이나 스레드 안전성 등을 보장하지 않습니다.
Getting Started
Prerequisites
- .net SDK 8.0
Installation
download from nuget.org
dotnet add package Cs.Logging
Usage
using Cs.Logging;
using Cs.Logging.Providers;
Log.Initialize(new ConsoleLogProvider(), LogLevelConfig.All);
Log.Info("디버깅 목적이 아닌 데이터. 서비스 환경에서도 남겨야 할 메시지들.");
Log.Debug("디버깅을 위한 임시 메세지. 개발빌드에서만 사용하고 디버깅 작업이 끝나면 정리해야 한다.");
Log.Warn("정상적이지 않은 경우이지만, 프로그램의 실행에는 문제가 없는 경우에 출력하는 메세지.");
Log.Error("프로그램의 실행에 문제가 있는 수준의 오류. 진행하던 로직은 중단되어야 한다.");
Log.ErrorAndExit("프로그램의 실행에 치명적인 오류. 프로그램을 종료한다.");
License
This project is licensed under the MIT License. For details, see the License File.
Contact
mailto: github@studiobside.com
Additional Information
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Cs.Logging:
Package | Downloads |
---|---|
GameRank.Core
An automation bot that crawls mobile game revenue rankings and sends them as Slack messages. |
|
Cs.Core
Gathers commonly used basic functionalities across various projects. |
|
Cs.HttpClient
gathers logic related to handling HTTP requests required for using external REST APIs. |
|
Cs.Math
Gathers mathematical logics. |
|
Cs.Antlr
Gathers commonly used basic functionalities across various projects. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.25 | 77 | 11/18/2024 |
0.0.24 | 67 | 11/18/2024 |
0.0.23 | 257 | 11/30/2023 |
0.0.22 | 197 | 11/9/2023 |
0.0.21 | 118 | 11/9/2023 |
0.0.20 | 119 | 11/9/2023 |
0.0.15 | 149 | 11/5/2023 |
0.0.11 | 663 | 11/4/2023 |
0.0.10 | 134 | 11/2/2023 |
0.0.9 | 152 | 11/2/2023 |
0.0.7 | 183 | 11/2/2023 |
0.0.3 | 165 | 11/1/2023 |
0.0.2 | 169 | 10/31/2023 |
0.0.1 | 160 | 10/31/2023 |
first release