~ci-train-bot/lightdm/lightdm-ubuntu-zesty-1679

« back to all changes in this revision

Viewing changes to src/log-file.h

  • Committer: Alexandros Frantzis
  • Date: 2015-10-20 07:50:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2226.
  • Revision ID: alexandros.frantzis@canonical.com-20151020075044-z7j5yga34lz16t29
Use logrotate to handle files in the default log directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2015 Alexandros Frantzis
 
3
 * Author: Alexandros Frantzis <alexandros.frantzis@canonical.com>
 
4
 *
 
5
 * This program is free software: you can redistribute it and/or modify it under
 
6
 * the terms of the GNU General Public License as published by the Free Software
 
7
 * Foundation, either version 3 of the License, or (at your option) any later
 
8
 * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
 
9
 * license.
 
10
 */
 
11
 
 
12
#ifndef LOG_FILE_H_
 
13
#define LOG_FILE_H_
 
14
 
 
15
#include <glib.h>
 
16
 
 
17
#include "log-mode.h"
 
18
 
 
19
int log_file_open (const gchar *log_filename, LogMode log_mode);
 
20
 
 
21
#endif /* !LOG_FILE_H */