-
Notifications
You must be signed in to change notification settings - Fork 0
Logging
Zach Sanford edited this page Nov 5, 2022
·
1 revision
Logging was added in the v0.1.1 release of Staffify. This was built with Serilog. Logging is featured on all of the web pages as well as the Database API Service.
| File |
|---|
| ~\Serilog\Program.cs |
I configured the logging service to write to a file. When the web application is ran for the first time, it will create a \Log directory and populate a new log daily.
Log.Logger = new LoggerConfiguration()
.WriteTo.File("Log/.log", rollingInterval: RollingInterval.Day)
.CreateLogger();- π Home
- π’ Getting Started
- π About
- π Overview
- π₯οΈ Technologies
- π οΈ Builder
- π© Components
- πΎ Database
- π Overview
- π§ Setting Up
- π Interface
- βοΈ Class
- π Logging
- π Overview
- π Configuration
- π§βπ€βπ§ Models
- π Overview
- π§βπΌ Employee
- π AppSingletonData
- π Pages
- π Overview
- π Index
- π¨ββοΈ Employee Details
- π·ββοΈ About