- Product Manual
- Introduction
- SMS technology
- Installation Guide
- User Guide
- Developers Guide
- Tutorials
- ASP SMS API
- PHP SMS API
- HTTP SMS API
- SQL SMS API
- C# SMS API
- SMS API functions
- login
- logout
- Send SMS message
- log
- keepalive
- SMS delivered to network
- SMS delivery report
- SMS delivery failed
- SMS received
- C# and MS SQL Server
- Registering remote objects
- C# SMS Gateway
- AJAX SMS API
- Delphi SMS API
- Cpp SMS API
- Java SMS API
- VB.NET SMS API
- Python SMS API
- Perl SMS API
- TCL/TK SMS API
- Coldfusion SMS API
- VB 6 SMS API
- Examples and Solutions
- Appendix
- SMS FAQ
- Feature list
- Commercial Information
- Search
Ozeki NG SMS Gateway
C# SMS API - log method
This method can be used to write a log entry on the server into the logfile belonging to the logged in user. For example if you login as admin, the following logfile will hold the logentry:
C:\Program Files\Ozeki\OzekiNG - SMS Gateway\Logs\USER_Standarad_admin.txt
Name | Description | |
![]() |
void log(string logmessage); |
Use this function to write a log entry.
Parameters logmessage - The text of the log entry. The server will automatically mark this entry with a timestamp. Returns This function does not return anything. Example log("Welcome to my C# SMS application"); |
More information
- C# SMS API
- C# and MS SQL Server
- C# SMS API - login method
- C# SMS API - logout
- C# SMS API - Send SMS message
- C# SMS API - log
- C# SMS API - keepalive
- C# SMS API - SMS delivered to network
- C# SMS API - SMS delivery report
- C# SMS API - SMS delivery failed
- C# SMS API - SMS received
- Run the SQL SMS example
- Feature list of the Ozeki NG SMS Gateway
- FAQ of the Ozeki NG SMS Gateway