Post

GoLangGoLang

S
Surya kumar

Posted on 25th April 2024|16 views

0
votes

Golang Log To File

How to append a log message to a file

Answers
P
veerubhotla sowmithri

Posted on 25th April 2024

To append a log message to file through the following code:

f, err1 := os1.OpenFile(“text1.log”, os1.0_Append | os1.0_WRONGLY,0644)

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos