CodeMash
Website
Dashboard
Search…
Home
Roadmap
Release Notes
API & SDKs
Billing
Get Started
Register at CodeMash
Install CodeMash
Set up API keys
Creating a web app
Creating a mobile app
Projects
About Projects
Project API
Microservices
Database
Membership
Files Service
Logs Service
Logs
Logs API
Code
Scheduler
Email Notifications
Push Notifications
APIs
Membership API
Data Models
User object
Other Topics
Errors
Triggers
Tokens Binding
Search parameters
Powered By
GitBook
Logs API
Overview of logs API methods
post
https://api.codemash.io
/:version/logs
Create Log
.NET
Node
1
var
client
=
new
CodeMashClient
(
apiKey
,
projectId
);
2
var
logsService
=
new
CodeMashLogsService
(
client
);
3
​
4
await
logsService
.
CreateLogAsync
(
new
CreateLogRequest
5
{
6
Message
=
"Custom log"
,
7
Level
=
"Information"
8
});
Copied!
1
​
Copied!
Previous
Logs
Next - Microservices
Code
Last modified
1yr ago
Copy link