Cs.Logging
0.0.9
See the version list below for details.
dotnet add package Cs.Logging --version 0.0.9
NuGet\Install-Package Cs.Logging -Version 0.0.9
<PackageReference Include="Cs.Logging" Version="0.0.9" />
paket add Cs.Logging --version 0.0.9
#r "nuget: Cs.Logging, 0.0.9"
// Install Cs.Logging as a Cake Addin #addin nuget:?package=Cs.Logging&version=0.0.9 // Install Cs.Logging as a Cake Tool #tool nuget:?package=Cs.Logging&version=0.0.9
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
를 만들어 연결해 주어야 합니다.
기본적으로 콘솔이나 파일로 출력하는 기능을 제공하지만 성능이나 스레드 안전성 등을 보장하지 않습니다.
Usage
using Cs.Logging;
using Cs.Logging.Providers;
Log.Initialize(new ConsoleLogProvider(), LogLevelConfig.All);
Log.Info("디버깅 목적이 아닌 데이터. 서비스 환경에서도 남겨야 할 메시지들.");
Log.Debug("디버깅을 위한 임시 메세지. 개발빌드에서만 사용하고 디버깅 작업이 끝나면 정리해야 한다.");
Log.Warn("정상적이지 않은 경우이지만, 프로그램의 실행에는 문제가 없는 경우에 출력하는 메세지.");
Log.Error("프로그램의 실행에 문제가 있는 수준의 오류. 진행하던 로직은 중단되어야 한다.");
Log.ErrorAndExit("프로그램의 실행에 치명적인 오류. 프로그램을 종료한다.");
Contact
mailto: github@studiobside.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net7.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.
first release